Difference between revisions of "Languages"
Line 21: | Line 21: | ||
Add the following HTML to your theme's header. It adds 2 links to change between english and spanish. | Add the following HTML to your theme's header. It adds 2 links to change between english and spanish. | ||
− | <source lang="html4strict"><a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'en-US', 365);location.reload();">ENGLISH</a> | + | <source lang="html4strict"><img src="%Theme.VirtualPath%Images/Logo.png" style="border-width:0px;margin-left:23px"> |
− | <a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'es-MX', 365);location.reload();">SPANISH</a> | + | <div style="float:right;border-width:0px;margin-right:23px;margin-top:5px"><a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'en-US', 365);location.reload();">ENGLISH</a> |
+ | <a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'es-MX', 365);location.reload();">SPANISH</a></div> | ||
</source> | </source> |
Revision as of 12:49, 12 February 2016
Translations are divided into 3 parts:
- Web Forms
- Translate controls and messages from web pages.
- Page Icons & Columns
- Translate page titles, icons and grid columns.
- Other Components
- Translate components that are shared among the web pages and server monitors.
Importing
To import a language file go to System > General Settings > Languages and click on the Import button.
Exporting
To export a language file go to System > General Settings > Languages > Select a language and click on the Export button.
Change language after logging in
Add the following HTML to your theme's header. It adds 2 links to change between english and spanish.
<img src="%Theme.VirtualPath%Images/Logo.png" style="border-width:0px;margin-left:23px"> <div style="float:right;border-width:0px;margin-right:23px;margin-top:5px"><a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'en-US', 365);location.reload();">ENGLISH</a> <a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'es-MX', 365);location.reload();">SPANISH</a></div>