How can I switch to, let's say Patagonian? 
 
If it wasn't Patagonian...

Unfortunately, nobody translated it to Patagonian so far...

The language files reside in the subfolder /lang. You need a text editor that supports UTF-8 encoding. Notepad 2 is an extremely good one. You have to translate english.utf8 and save it as patagonian.utf8.

Remember to save the file as UTF-8: File -> Encoding -> UTF-8.

Finally, you have to register patagonian.utf8 in lang/languages.inc

<?php

$lang_abbr=array();
$lang_abbr[]='en';
$lang_abbr[]='pg';
$lang_abbr[]='...';
$lang_abbr[]='...';

$lang_names=array();
$lang_names[]='English';
$lang_names[]='Patagonian';
$lang_names[]='...';
$lang_names[]='...';

$lang_files=array();
$lang_files[]='english.utf8';
$lang_files[]='patagonian.utf8';
$lang_files[]='...';
$lang_files[]='...';

?>


The default language can be set from ACP -> SETTINGS.

---

Keep in mind that Windows Notepad and Windows Wordpad are not compatible with the format of the language files! Please use Notepad 2 instead!


 

2010-04-16 09:27