Difference between revisions of "Languages"
(Created page with "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. ; O...") |
|||
Line 17: | Line 17: | ||
== Share and Download == | == Share and Download == | ||
* [http://clientforums.tcadmin.com/forumdisplay.php?f=51 v2 language files forum ] | * [http://clientforums.tcadmin.com/forumdisplay.php?f=51 v2 language files forum ] | ||
+ | |||
+ | == Change language after logging in == | ||
+ | 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> | ||
+ | <a href="javascript:void(0)" onclick="eraseCookie('__TCAdmin2Language');createCookie('__TCAdmin2Language', 'es-MX', 365);location.reload();">SPANISH</a> | ||
+ | </source> |
Revision as of 12:37, 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.
<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>