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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:51:17+00:00 2026-05-27T11:51:17+00:00

i need to translate my site in multiple languages. i was thinking to use

  • 0

i need to translate my site in multiple languages. i was thinking to use a database called language and put the translation there.

database : translation
tables:  language
column: id, english, french, german, italian, spanish

or i was thinking about a php solution like:

english.php
french.php
german.php
italian.php
spanish.php

so you simply include the file you need.

now, i can see pros and cons for both, what i want to know is what is consider the standard in the industry to do something like this?

  • 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-27T11:51:18+00:00Added an answer on May 27, 2026 at 11:51 am

    You can use gettext, this function is proposed for this feature, not a “standard” but fast enough.

    The second options in the use of a PHP file with a big array (really big, for each string), this is the most common solution.

    To the database content (the big problem here, don’t forget), if all your content must have the translation, one column for each language, otherwise use a flag of language for each line on database.

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

Sidebar

Related Questions

I am using gettext to translate my site. In norwegian I need to use
I need database structure for storing versions of site's content in different languages. Right
I need to localize our site to a number of languages. The site consists
I need to build a multi-language site, where the client will add records in
If I need to translate my website in languages that I do not know,
I need to translate what is commented within the method, to assembler. I have
I need to translate the a carbon method into cocoa into and I am
We need to translate some of our UI to English, and the question arises:
I have a task where I need to translate a DataTable to a two-dimensional
I need your help to translate a query into pyes. This query is working

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.