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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:17:45+00:00 2026-05-23T12:17:45+00:00

I have a site with texts in 2 languages. How should I go between

  • 0

I have a site with texts in 2 languages. How should I go between the pages so that from the point that he clicked to change the language he will see it and the moment he clicks the other language, it will change back?

An option is that when the user clicks the link to change the language I will store it into the session and use it. But I’ve heard it won’t work well with the search engines.

A second option is to pass the language variable through the URL to every page.

Third option is to smartly use the zend extension ability.

(Using PHP + Zend Framework).
SEO is very important to me.

EDIT:
The texts that are in the site(and that are in several languages), are entered by an admin. It works now with languages objects that I’ve created with the option for the admin to add texts in each of them. So when I’ll enter the first page(of which the text can be changed) I’ll see it in English and when I click the Russian flag it will display that page(and the others later) in Russian.

Using Zend_Locale or translate won’t work for me(I think), and passing through the URL is an option. The question is if it is the best one?

  • 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-23T12:17:45+00:00Added an answer on May 23, 2026 at 12:17 pm

    It is best to pass it along as a parameter in the URL, google uses locale=en for this. It would also be ok to store it in the session only if the user is logged into your website and selected a preferred locale or something. That way search engines can index the different locales with different urls, but your users would see pages in whatever locale they have chosen.

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

Sidebar

Related Questions

So I have site list on certain pages that basically just have links to
I'm making a site that will be translated into x languages. All strings must
My boss has asked for a page that will not change to have two
For example I have site http://localhost/site In IIS I set that 404 error causes
I'm setting up a multi-language using gettext. Since all text from other languages are
I have a simple code from a book and the code should display data
I have a site that calls AJAX. It works at my office, where I
I would like to have a link on my site that when you click
I have some tasks on a site in php using nginx that I'm trying
Hi i would like to set several languages on my site, a have good

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.