Languages
From TCAdmin 2.0 Documentation
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>