Forums / Setup & design / locale and language-name variables in template
Paulo Almeida
Sunday 30 March 2003 2:28:12 pm
How can i access to locale and languagename variables in template? I am trying to not need create lots of template to use in a multilanguage sites.
Thanks in advance
PACPI.COM Internet Consulting http://pacpi.com
Jan Borsodi
Monday 31 March 2003 12:19:34 am
Do you mean the current locale for the site or the locales for translations of an object?
-- Amos Documentation: http://ez.no/ez_publish/documentation FAQ: http://ez.no/ez_publish/documentation/faq
Monday 31 March 2003 3:03:02 am
I want to do something like, if actual locale is eng-GB then show a link to por-PT site, and if in por-pt show eng-GB link.I hope with this you can understand me.
Monday 31 March 2003 3:41:57 am
You could try: {section show=eq(ezini('RegionalSettings','Locale'),"eng-GB")} ... display por-PT link {section-else} ... display eng-GB link{/section}