Is there a way to set the page Title and Description in the template , depending on the language the page is showing?
I have the same set of templates for my multilanguage site, and I want to change head metadata consequntly with the language.
Add language-dependent title/description
Re: Add language-dependent title/description
Create some GCB like "head-en_US" "head-fr_FR" and place {global_content name="head-$lang"} between or place to "Site Admin » Global Settings » Global Metadata:".
Similar thing you can do with title
Similar thing you can do with title
Re: Add language-dependent title/description
Thank you Peciura! Cool and easy...
Re: Add language-dependent title/description
In 1.6 GLobal content are multilang
put {global_content name="head"} in template and in Global Content you have "head" item for any languages
My advice, however, is:
- title is already multilang (in Main tab)
- metadata is already multilang (in Option tab)
- use content block for user friendly meta tag:
Alby
put {global_content name="head"} in template and in Global Content you have "head" item for any languages
My advice, however, is:
- title is already multilang (in Main tab)
- metadata is already multilang (in Option tab)
- use content block for user friendly meta tag:
Alby
Re: Add language-dependent title/description
Thank you alby. Your advise is perfect if you need a title and a description for each page (that is what I will do when I find some spare time!). For the moment, the global metadata trick is enough.
Re: Add language-dependent title/description
Wow!
This is Very usefull! It takes much time to explain my users why it is important to fill description and keywords fields for search engines, how to do that, where, ... With this it is just 10000 times easier for them! Many thanks!
This is Very usefull! It takes much time to explain my users why it is important to fill description and keywords fields for search engines, how to do that, where, ... With this it is just 10000 times easier for them! Many thanks!
The universe of information technology is constantly growing and contains only emerging products built on successive patches