[Help wanted]: Translations for CPG1.3.x - Page 11 [Help wanted]: Translations for CPG1.3.x - Page 11
 

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

Main Menu

[Help wanted]: Translations for CPG1.3.x

Started by Joachim Müller, March 16, 2004, 07:10:56 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Joachim Müller

thanks for your willingness to help, but you should have replied to the cpg1.4 language thread instead of the cpg1.3 one...

Joachim Müller

Ajet Nuro has contributed an albanian translation for cpg1.3.x by email.

Here are the files you need to download:
  • /lang/albanian.php (iso-8859-1 language file)
  • /lang/albanian-utf-8.php (utf-8 language file)
  • /images/flags/al.gif (albanian flag, if you use the flag language selector) - (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.coppermine-gallery.net%2Fdemo%2Fcpg13x%2Fimages%2Fflags%2Fal.gif&hash=0ea91a2d71782107228d16a0ff35305c4408a544)
  • /include/functions.inc.php (if you use the flag language selector, only for use with cpg1.3.3)
    Alternatively, edit include/functions.inc.php, find$lang_language_data['arabic'] = array('Arabic','العربية','sa');and add before it (in a new line)$lang_language_data['albanian'] = array('Albanian','Albanian','al');
Thanks for your contribution

Demo

trash

Here is latvian language file in utf-8 encoding

Joachim Müller

There already is a latvian language file in utf-8 encoding. What's the difference between your version and the one that already exists?

Joachim Müller

tuga has contributed Portuguese - get it from the CVS:
Demo - Download
Thanks for the contrib

willstein

Well, I've had a friend translate Korean (most of it)
But it isn't displaying Korean.

After setting charset to: euc-kr, I'm getting alot of strange characters.
I assumed you only had to change the korean and it would work, any specific things to change?

I'm going to search the FAQ to find out what UTF is used for.

Joachim Müller

you'll have to make sure that your browser can display korean (it may need an additional download). You can send me the language file anyway, I can take a look into it if you want. A good place to start learning about utf-8 and other encoding issues is http://en.wikipedia.org/wiki/Utf-8
Another good resource for converting encodings is http://www.iconv.com/iconv.htm

willstein

gaugau, I handed a friend english 3.3 and asked her to translate.

i told her when she was halfway to let me know so i can test it before she goes any further.
she skipped around a bit, which is OK. but the entire file isn't finished.

Let me know what I should do next.

Joachim Müller

The line$lang_charset = 'iso-8859-1';needs to be$lang_charset = 'euc-kr';or$lang_charset = 'utf-8';depending on the encoding you use (in your case "utf-8"). If you choose to use the file in utf-8, you'll have to make sure that you have enabled unicode (utf-8) in coppermine's config as well (and all your language files have to be in unicode then). A good tool for dealing with asian encodings and fonts is Uni2Me (don't worry about the page being in chinese - the app is available in English, just follow the download link).

Joachim

willstein

Ok things seem to work fine in IE, but not in mozilla.

Any idea why?

Joachim Müller

what's your encoding set to in mozilla? Post a link to your test page that has korean please.

Giasher

i'd like to submit Georgian translation (version 1.3.5)
Possible to download from here - http://www.mozillage.org/zzz/cpg_geo.zip
Any other procedures needed?

Joachim Müller

Thanks for the contribution - however, the file is causing an error for me when uploading it to the coppermine demo and trying to run it using the georgian language file:
QuoteParse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/foldername/public_html/demo/cpg13x/lang/georgian-utf-8.php on line 963
. Could you please review it?

Makc666

Quote from: GauGau on January 24, 2006, 11:58:17 PM
Updated http://coppermine-gallery.net/team/#translators as suggested.
Current Russian translation for 1.3.x was made by me from the beginning.
There is old information about 1.3.x Russian traslator on http://coppermine-gallery.net/team/#translators

Valdas

Lithuania language

www.flashmob.eik.lt/Lithuania.zip

Joachim Müller

It's a pity that you started translating the outdated version cpg1.3.x - there won't be any new releases of the cpg1.3.x, and support for that version is running out. We'd appreciate a lithuanian translation for cpg1.4.x. Please read the translator's guide first that comes with the docs.