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

  • Home
  • SEARCH
  • 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 9108977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:55:57+00:00 2026-06-17T02:55:57+00:00

This is the scenario: I have a website that I’ll translate and eventually apply

  • 0

This is the scenario:

I have a website that I’ll translate and eventually apply a good SEO on it.
Which method is best for translate the content (menu links, about 10 articles, alt tags, title tags, meta tags, html lang, etc) while being easely indexed by Google, Bing, Yandex and other search engines?

My first idea is to use a translate php function that consists of arrays made by myself (I have a prototyope of it already) that takes the content and displays it in the user’s language.

Is this the right path? the problem here is that I wanted to be sure to have a dynamic system that allows me to add a new language in the future.

Maybe MySql is the right choice?

The website doesn’t use a cms, I made it by myself with php though I have no problem to rely on MySql if I need to.

Thank you 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-06-17T02:55:58+00:00Added an answer on June 17, 2026 at 2:55 am

    Store all texts inside a db and apply another field for language:

    +----+---------+---------+
    | id | text_en | text_de |
    +----+---------+---------+
    |  1 | English | Deutch  |
    +----+---------+---------+
    

    Now, when user switches languages, just use the field for that language:

    $lang = 'en';
    $query = "SELECT text_".$lang." FROM texts WHERE id = 1";
    

    Something like that. So, all your client side texts will be stored inside the db at all times. So your output will be like:

    <div id="header"><?=get_db_text_for_id(1)?></div>
    

    Of course, you need precautions and some more field, but thats the general idea.

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

Sidebar

Related Questions

Consider this scenario. I have my own website, that I use as my identifier,
i have a website that uses a number of containers (div's). In this scenario,
The scenario, I have a client website that needs to post data to the
Here's the scenario... We have an internal website that is running the latest version
I have noticed that when updating my web content files (in this case, a
I have designed a web portal, I have made that website good looking at
I have a weird scenario in which the website seems to randomly run out
This is the scenario: There's an intranet website that stores a set of macros
Imagine this scenario: You have a desktop and a laptop. The desktop has a
Please Consider this scenario: We have a base class called clsMain : class clsMain

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.