Home
Translate and Manage content
Web Hosting Toolkit uses gettext to view content in different languages.
If your language is not in the list of supported ones (probably it is so, as the multilanguage
support appears in version 4.2), you can translate WHT yourself.
To do so open the file wht/po/wht.po and translate
every message. To translate the actual strings fill in the msgstr after each msgid with the
appropriate translation. Send me the file and I'll send you back 3 other files with instructions
where to place them.
You can change a few things in the WHT's appearance and content:
-
I use CSS to control all the colors and fonts. If you edit wht/css/darkred/style.css
and wht/css/darkred/style_navigation.css, that will affect all the pages.
-
In most of the pages header and footer are viewed - wht/templates/header.php and
wht/templates/footer.php
-
You can change the content of WHT by editing only one file -
wht/languages/en/LC_MESSAGES/wht.po.
When you edit the appropriate msgstr it will replace the old one.
After editing the file you will have to rebuild the wht.mo file. To do so log in the admin area,
click the link Manage content, choose the language which file you have edited
and Rebuild.
-
To change the content of the email messages sent from WHT edit the files in
wht/templates/mail