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 891077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:50:00+00:00 2026-05-15T13:50:00+00:00

Possible Duplicates: Create a webpage with Multilanguage in PHP PHP – how to translate

  • 0

Possible Duplicates:
Create a webpage with Multilanguage in PHP
PHP – how to translate a website into multiple languages?

I want to make a site which will have 3 languages – e.g. English, Arabic and Italian;
the content sure will be different from one language to another.

Should I make different table for each language, e.g.:

en_articles
ar_articles
it_articles

each with the same article in different language,

or make one table articles like this:

article_id
article_en_title
article_ar_title
article_it_title

Please advise me.

  • 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-15T13:50:00+00:00Added an answer on May 15, 2026 at 1:50 pm

    If you are very sure that you are going to work only with 3 languages, the best option is to use one table, with three columns, one for language:

    article_id
    article_en_title
    article_ar_title
    article_it_title
    

    If eventually you need to add other language, only add other column.

    If you think that you are going to add other languages, o you want to use the code for others web with differents languages, I think that the best solution is to use 3 tables, one for the languages, one for the articles and other table for relation them

    table “languages”

    language_iso
    language_name
    

    table “articles”

    article_id
    article_name (Internal name for the article)
    

    table “articles_x_languages”

    article_id
    language_iso
    article_title
    article_text
    

    I’m assuming that you are going to have each article in the three languages. Example:

    Languages
    language_iso | language_name
              en | English
              ar | Arabic
              it | Italian
    
    Articles
    article_id | article_name
             1 | Sample 1
             2 | Sample 2
    
    Articles_x_languages
    article_id | language_iso | article_title | article_text
             1 |           en | english title | Lorem ipsum ..
             1 |           ar |  arabic title | Lorem ipsum ..
             1 |           it | italian title | Lorem ipsum ..
             2 |           en | english title | Lorem ipsum ..
             2 |           ar |  arabic title | Lorem ipsum ..
             2 |           it | italian title | Lorem ipsum ..
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: PHP create a file without fopen I want to create a file
Possible Duplicates: how do I create my own URL protocol? (e.g. so://…) How do
Possible Duplicate: Create an Array of the Last 30 Days Using PHP I am
Possible Duplicate: create multiple variables based on an int count Objective C Equivalent of
Possible Duplicates: how to create startup application in android? How to Autostart an Android
Possible Duplicates: What is the correct way to create a single instance application? What
Possible Duplicates: Factory Pattern. When to use factory methods? Why do static Create methods
Possible Duplicates: What is the correct way to create a single instance application? Prevent
Possible Duplicate: create multiple variables based on an int count Objective C Equivalent of
Possible Duplicates: How do I use that “<<<HTML” thing in PHP? PHP <<<EOB $sql

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.