Anyone knows how translate category names using this method?
http://eeinsider.com/articles/multi-language-solutions-for-expressionengine
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.
Sign up to join this communityAnyone knows how translate category names using this method?
http://eeinsider.com/articles/multi-language-solutions-for-expressionengine
It's pretty easy.
Create a new Category Field and prefix its name with the language prefix related and use it for the translated name. For example, pt-category_name
.
On your templates, inside categories variable pair, for example:
{if language == "pt"}{pt-category_name}{/if}
{if language == "en"}{category_name}{/if}{!-- being `en` your default language --}