Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6674635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:46:07+00:00 2026-05-26T03:46:07+00:00

Hi, I am going to build a classifieds website using PHP/MySQL. This website is

  • 0

Hi, I am going to build a classifieds website using PHP/MySQL.
This website is going to be available in 3 languages, English being default.
I would not need translation, as I’d be writing 3 of those languages for the structure,
and the user generated content need not be translated.
For how to create multi-language sites, I’m referring to
http://stackoverflow.com/questions/450687/programming-multi-language-php-applications
currently.

The user scenario would be, if user chose Mandarin as the main language,
he/she will be viewing most of the ads that are written in Mandarin,
and *any postings done by he/she would be automatically listed as a Mandarin ad*.
How do I do that in MySQL? (Create a “Language” field?)

Thank you for any help in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:46:08+00:00Added an answer on May 26, 2026 at 3:46 am

    There is a normalized database approach.

    a) One table for keeping language information with columns (id, languageName)

    b) In the ad table you would add a column for language id

    Then when you would search for the language Mandarin you would query the ad table with either the “WHERE languageID = 2”.

    Now when you save the post you add the language id for the corresponding language.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am going to try to build a PHP website using a framework for
I'm going to build a web hosting control panel using PHP and I want
Possible Duplicate: PHP safe $_GET or not So I'm going to build a dynamic
I'm going to build a Classic Music website and the client already has several
I am going to build a website on a test server that will behave
i am going to build a web based application using Java EE. can you
How does RabbitMQ compare to Mule, I am going to build an application using
I am using cakePHP 1.26. I am going to build a very simple forum
I'm trying to build an application using AIR 2's new NativeProcess API's going from
Please help, I'm going slightly mad!! I'm using Eclipse-generated antfiles to build a project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.