php - Multi languages site -
i have site texts in 2 languages. how should go between pages point clicked change language see , moment clicks other language, change back?
an option when user clicks link change language store session , use it. i've heard won't work search engines.
a second option pass language variable through url every page.
third option smartly use zend extension ability.
(using php + zend framework). seo important me.
edit: texts in site(and in several languages), entered admin. works languages objects i've created option admin add texts in each of them. when i'll enter first page(of text can changed) i'll see in english , when click russian flag display page(and others later) in russian.
using zend_locale or translate won't work me(i think), , passing through url option. question if best one?
it best pass along parameter in url, google uses locale=en
this. ok store in session if user logged website , selected preferred locale or something. way search engines can index different locales different urls, users see pages in whatever locale have chosen.
Comments
Post a Comment