Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Translate_include.php language entries

The neat function that makes our droplist of additional languages to appear in it´s own language comes from includes/translate_include.php
There are two arrays that need to be populated here ,

Due to UTF-8 characters in the file, this forum can not host the correct characters in code brackets until we have upgraded. I will attach the file.

If you can contribute, update and attach in a reply. ( zip the file ).
If you master Github you can also update directly in our repo : https://github.com/php-fusion/PHP-Fusion

First is the language name, in native tounge.

CodeDownload  
 $translated_langs = array(
    );



The other is the country name, in native tounge.

CodeDownload  
 $translated_countries = array(
    );



Any contributions to this file is greatly appreciated.
Falk attached the following file:
translate_include.zip [1.59kB / 363 Downloads]
Very helpful, i'm in too
Dutch added.

(Remark, file reads as DOS UTF-8 instead of UNIX UTF-8, my attached version is UNIX UTF-8)

Below a nice English spoken tutorial clearing up the confusion about the Netherlands, the Dutch, etc.

Wanabo attached the following file:
translate_include_1.zip [1.54kB / 341 Downloads]
Looking great, Thank you.
For Germany it's incorrect
It must be
CodeDownload  
"Germany" => "Deutschland",


The s fails.
Ty, Fixed the Git rev https://github.com/php-fusion/PHP-Fusion/commit/f2d0b9bea8f68b2be4267176f8268edaa116185f
Ty, Fixed the Git rev https://github.com/php-fusion/PHP-Fusion/commit/f2d0b9bea8f68b2be4267176f8268edaa116185f
Romanian added into includes/classes/PHP-Fusion/Locale.inc.
keddy attached the following file:
locale_1.zip [3.59kB / 184 Downloads]
Thanks, added https://github.com/php-fusion/PHP-Fusion/commit/d3d4bc38e9c93c0bbee0542935b499cf6f53f566
I belive you should add:
CodeDownload  

case 'Romanian':


here :
CodeDownload  

case 'English':
case 'Danish':
case 'German':


It's in /includes/classes/PHPFusion/Locale.inc line 89-92.
https://github.com/php-fusion/PHP-Fusion/commit/b13444d3f51e70866434c7fe19bc7c37776c66e2
Hi! If you could expand on what's the difference between two lists? As I noticed they just state different things: first list if of languages and the second is countries. But, for example, Lithuanian is only in the first list. Should you add Lithuania - Lietuva to the second?

P.S. I'm about to commit major Lithuanian translation update.
First is the language name, in your native tounge.

CodeDownload  
 $translated_langs = array(
    );



The other is the country name, in your native tounge.

CodeDownload  
 $translated_countries = array(
    );

Thread Information
Author
Posted In
Replies
13 posts
Views
2,882 times
Last Post
Last updated on 3 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, Wanabo, keddy, Creatium, BDMH, RobiNN, DJoshua