How to add an extra language?

Allgemeiner Support für das kostenlose Toplisten Script Top Xl

Moderator:Paddelberg

Antworten
wheely
Beiträge:2
Registriert:Dienstag 14. März 2006, 19:14
How to add an extra language?

Beitrag von wheely » Dienstag 14. März 2006, 19:29

Hi!

I made copies of the two language files (members-en.php, en.php), translated them into the Dutch language and renamed them to: 'members-nl.php' and 'nl.php'.

I have also added the line: '$text_dutch = "Nederlands";' in the files: 'members-en.php' and 'members-de.php'.

I still cannot select the new language in the admin panel.

What more do i have to do to use the new language?

If someone wants to use this translation maybe i can post the files here?

I'm sorry i wrote this message in English but my German isn't good enough. :oops:

wheely
Beiträge:2
Registriert:Dienstag 14. März 2006, 19:14

Addition

Beitrag von wheely » Dienstag 14. März 2006, 21:02

I also modified the 'config.php' file by adding this code:

Code: Alles auswählen

<option value=\"nl\"";
if ($stanlang == "nl")
{$main_content .= " selected";}
$main_content .= ">$text_dutch</option>
Now i can select the language but everything is still in English :?:

Benutzeravatar
Paddelberg
Site Admin
Beiträge:925
Registriert:Dienstag 17. Januar 2006, 00:02
Wohnort:Worms

Beitrag von Paddelberg » Mittwoch 15. März 2006, 03:46

Hi
with the option "Language" in the admin area you can only change the standard language. Thats the language which is shown if it is not possible to detect the visitors browser language.

There is an automatic language detection in the script which is limited to english and german.
Try to change your browser language to german and you will see all in german!

download this file, extract it, open readme.txt and follow the instructions (scroll down for english version)
dutch_language_mod
If someone wants to use this translation maybe i can post the files here?
if you like, you can send me the dutch language files and i will put it into the "dutch_language_mod " download!
In return you will get a linkfree version of the script for one of your domains for free!!

greetz
simon

Antworten