Languages: IntroductionAs of UTF-8 CuteNews 8 you are able to show public messages (i.e. everything outside of the administration panel) in custom languages.
The administration panel still is in English by default and not translatable, because it is a lot of work and would increase the file size of UTF-8 CuteNews a lot.
1| Setting Up LanguagesIn your administration panel, under Options > Languages, click on the add new language link and specify the new language file name. For technical reasons, characters outside of a-z are not accepted.
2| IntegratingAfter having translated the messages, you are now ready to have the standard CuteNews messages in your own language. In your include code (the PHP code pointing to show_news.php which you use on another page to show CuteNews), you can now add the $lang parameter:
$lang = 'deutsch';... deutsch being the language file (/data/deutsch.clf) for which UTF-8 CuteNews will look. $lang is case-sensitive.
By default (if $lang is not specified or invalid), UTF-8 CuteNews will take all messages from the English language file (/data/english.clf). The $lang parameter is recognized in show_news.php, show_archives.php and search.php. Furthermore, you can also specify the default language in index.php and register.php by opening those files and adding the $lang variable below the first line.
Tip: If you do not want to use multiple languages, you can also translate all messages in the language file 'english'. Like this, the messages will default in your language and you will never have to worry about using $lang.
3| AboutThe language files are saved in the /data/ folder and have the file extension clf (CuteNews Language File).
|Deutsch (German)||Deutsch.zip||(lKj)||Swiss grammar - the symbol ß is never used|
|Nederlands (Dutch)||Dutch.zip||René Lapoutre|
|Norsk (Norwegian)||Norwegian.zip||Martin Rotmo|
|Português (Portuguese, BR)||Portuguesbr.zip||Sammu||Portuguese (Brazil)|
|Português (Portuguese, PT)||Portuguespt.zip||Sammu||Portuguese (Portugal)|
|Srpski (Serbian)||Serbianlat.zip||Saptac (Srđan)||Latin alphabet|
Your language If you have translated these messages into a language which isn't listed above, please submit it (credit will be given).
Disagree? Did you find something you would have translated differently? If so, please let me know.
Dates Unfortunately, dates (e.g. "5th September 2009") cannot be translated in UTF-8 CuteNews 8. Date translations were planned, however due to technical reasons (locale names varying from server type to server type & character encoding issues), I decided not to include it right now. I am working on this issue, however.