Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Done]: Dutch translation for English.php 1.5.3  (Read 13172 times)

0 Members and 1 Guest are viewing this topic.

Albe

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
[Done]: Dutch translation for English.php 1.5.3
« on: March 15, 2010, 03:47:17 am »

Hello

I'm new here and just installed Coppermine 1.5.3.

There was only a partly translated dutch.php file in the package, so I think I can help translating it from English to Dutch?
I couldn't find (Searching in this forum) if there already someone was translating this file.

Would you please let me know if I can help?

Thanks in advance.
« Last Edit: March 21, 2010, 08:56:24 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Dutch translation for English.php 1.5.3
« Reply #1 on: March 15, 2010, 07:17:37 am »

As far as we're aware there is currently nobody working on a Dutch language file.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Dutch translation for English.php 1.5.3
« Reply #2 on: March 15, 2010, 09:06:02 am »

The more languages files we get the better.

Take a look at the translation guide before you start.

http://documentation.coppermine-gallery.net/en/translation.htm
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Albe

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
Re: Dutch translation for English.php 1.5.3
« Reply #3 on: March 15, 2010, 06:53:20 pm »

The more languages files we get the better.

Take a look at the translation guide before you start.

http://documentation.coppermine-gallery.net/en/translation.htm

I've downloaded the newest version of the english.php I could find and have already read the documentation, but stil have a question.

Code: [Select]
********************************************
  Coppermine version: 1.5.3
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.5.x/lang/english.php $
  $Revision: 7236 $
  $LastChangedBy: gaugau $
  $Date: 2010-02-18 16:31:52 +0100 (Do, 18. Feb 2010) $
**********************************************
1. The new way of array definitions in english.php always begins and ends with

if (xxxxx) {
$xxx
...
$xxx
}

But in line 405-406:
Code: [Select]
$lang_smilies_inc_php['Mr. Green'] = 'Mr. Green';)
};

and 476-477
Code: [Select]
$lang_banning_php['form_not_submit'] = 'The form hasn\'t been submitted - there are errors that you need to correct first!'; // cpg1.5
};

they end with: };

2. Two lines with same code have different text?
In line 968:
Code: [Select]
$lang_db_input_php['com_added'] = 'Your comment was added'; // cpg1.5

is the same code used for an other text

in line 986:
Code: [Select]
$lang_db_input_php['com_added'] = 'Comment added';




Are these errors in the original english.php?


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Dutch translation for English.php 1.5.3
« Reply #4 on: March 16, 2010, 07:04:54 am »

Fixed in rev 7315. However, I can't see how those little issues are related to translation.
Logged

Albe

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
Re: Dutch translation for English.php 1.5.3
« Reply #5 on: March 16, 2010, 07:40:08 pm »

Fixed in rev 7315. However, I can't see how those little issues are related to translation.

Thanks!

These notes were only indirect related to the translation.
While my first translation didn't work, I was looking for a reason and read thoroughly (like you always advise) your documentation and original file.

Meanwhile I've found why my dutch-language wasn't found in Coppermine.

I had to add the language in: "charsetmgr.php"

Code: [Select]
// Displays a menu with a choice of charsets
function form_charset($optionvalue, $selected)
{
    global $CONFIG;


    $charsets = array(//'Default' => 'language file',
        'Arabic' => 'iso-8859-6',
        'Baltic' => 'iso-8859-4',
        'Central European' => 'iso-8859-2',
        'Chinese Simplified' => 'euc-cn',
        'Chinese Traditional' => 'big5',
        'Cyrillic (windows-1251)' => 'windows-1251',
        'Cyrillic (koi8-r)' => 'koi8-r',
        'Dutch' => 'utf-8', //1.5.3 Albert
        'Greek' => 'iso-8859-7',
        'Hebrew' => 'iso-8859-8-i',
        'Icelandic' => 'x-mac-icelandic',
        'Japanese' => 'euc-jp',
        'Korean' => 'euc-kr',
        'Maltese' => 'iso-8859-3',
        'Thai' => 'windows-874',
        'Turkish' => 'iso-8859-9',
        'Unicode' => 'utf-8',
        'Vietnamese' => 'windows-1258',
        'Western' => 'iso-8859-1'
    );

    //$value = strtolower($CONFIG['charset']);


This weekend I will finnish the translation of dutch.php and (if you approve) send it as an attach in the thread :" [Help wanted]: Translations for CPG1.5.x", like you prescribed in your documentation.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Dutch translation for English.php 1.5.3
« Reply #6 on: March 18, 2010, 10:08:39 pm »

I had to add the language in: "charsetmgr.php"

Code: [Select]
// Displays a menu with a choice of charsets
function form_charset($optionvalue, $selected)
{
    global $CONFIG;


    $charsets = array(//'Default' => 'language file',
        'Arabic' => 'iso-8859-6',
        'Baltic' => 'iso-8859-4',
        'Central European' => 'iso-8859-2',
        'Chinese Simplified' => 'euc-cn',
        'Chinese Traditional' => 'big5',
        'Cyrillic (windows-1251)' => 'windows-1251',
        'Cyrillic (koi8-r)' => 'koi8-r',
        'Dutch' => 'utf-8', //1.5.3 Albert
        'Greek' => 'iso-8859-7',
        'Hebrew' => 'iso-8859-8-i',
        'Icelandic' => 'x-mac-icelandic',
        'Japanese' => 'euc-jp',
        'Korean' => 'euc-kr',
        'Maltese' => 'iso-8859-3',
        'Thai' => 'windows-874',
        'Turkish' => 'iso-8859-9',
        'Unicode' => 'utf-8',
        'Vietnamese' => 'windows-1258',
        'Western' => 'iso-8859-1'
    );

    //$value = strtolower($CONFIG['charset']);

That was nonsense - undo that. All Coppermine language files are in Unicode (utf-8), you don't have to apply particular encoding settings. Using the existing option "Western" would have done the trick just as well if you can't use (for whatever obscure reasons) the default and recommended encoding utf-8. You definitely don't have to edit the charset manager or any other core file to create and test a language file.
However, this is yet another issue that is not related to what you reported in your initial posting and therefore shouldn't have gone into this thread.
Logged

Albe

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
Re: Dutch translation for English.php 1.5.3
« Reply #7 on: March 18, 2010, 11:50:39 pm »

However, this is yet another issue that is not related to what you reported in your initial posting and therefore shouldn't have gone into this thread.

OK, sorry!
Logged

Albe

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
Re: Dutch translation for English.php 1.5.3
« Reply #8 on: March 20, 2010, 03:27:54 pm »

As promised, in attach my translation from english.php into dutch.php, using Notepad++.
I've tested it on my local computer (in USBWebserver) and in my host.
It works on both places, only accented characters give still a problem? (see attach).

I don't think it has something to do with the translation?
Can I do something about that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Dutch translation for English.php 1.5.3
« Reply #9 on: March 21, 2010, 08:55:40 am »

Well, your file is encoded in iso-8859-1 and not in unicode. That's why the accented chars "act up". I have converted your file accordingly and added it to the SVN repository in rev 7328. Thanks for your contribution. To get a valid, working copy, get the converted file from the web SVN.
Logged

Albe

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
Re: Dutch translation for English.php 1.5.3
« Reply #10 on: March 21, 2010, 04:15:45 pm »

I have converted your file accordingly and added it to the SVN repository in rev 7328.

Thank you very much!
Logged

MisteryBrother

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [Done]: Dutch translation for English.php 1.5.3
« Reply #11 on: March 27, 2010, 05:34:06 pm »

Thanks :)
For translation it to Dutch. I use it also :)
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.