Rate this article
More from Videos & Tutorials
Localizing language file in Vivvo
This How-to addresses steps necessary to localize Vivvo's language file (words and phrases) for any language you want.
Vivvo holds language files as plain text files. There are three places where those files are stored.
- For front-end (website that visotors see) language files are stored inside /lang folder.
- For administration (Vivvo control panel) language files are stored inside /lang/admin folder.
- For plugins, language files are stored in every respective plugin folder for that particular plugin - {PLUGIN_ROOT}/lang and {PLUGIN_ROOT}/lang/admin
Language files are stored in as .php documents, i.e. english.php, french.php, german.php, etc.
When localizing Vivvo to your language here is what you should know:
1. Do not edit english.php. Copy it to your_lang.php, you can later choose your language file trough preferences
2. VIVVO_DB_COLLATION determents the MySQL collation for text sorting (note only the UTF-8 collations can be used). This applies only to MySQL 4.1+ servers)
http://dev.mysql.com/doc/refman/5.0/en/charset.html
http://dev.mysql.com/doc/refman/5.0/en/charset-unicode-sets.html
3. VIVVO_LANG_CODE - value that denotes language on your web site (ie en-US)
http://tlt.its.psu.edu/suggestions/international/web/tips/langtag.html
http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt
4. Use editor that is able to save text without UTF-8 BOM (Notepad++, ...)
http://notepad-plus.sourceforge.net/uk/site.htm
http://www.w3.org/International/questions/qa-utf8-bom
To see all Languages and Localization packs, please click here.