Different Languages Different Languages
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Different Languages

Started by Dankriss, January 11, 2018, 10:50:11 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Dankriss

Hi guys


Are we going to have different languages available in the future?  Or is there somewhere I can download them and add to the gallery?


Thanks in advance


Kriss :)
Good with HTML and CSS but no good with script... so please bear with me.. :)

phill104

Languages are never easy. We have language files and the software complies to current standards. However, to create those language files requires translators. People from the community volunteer their time to create these. Hopefully, we can get contributions to add more languages as time passes. Currently there are German, English (UK and US) and French speakers on the team so hopefully those translations can be taken care of.
It is a mistake to think you can solve any major problems just with potatoes.

Dankriss

I don't have the UK English on mine just the US version... is there somewhere to download it?


Kriss :)
Good with HTML and CSS but no good with script... so please bear with me.. :)

phill104

Still to be created. Feel free to take a look at the CPG 1.5.x version (lang/english.gb.php) and you will see there are only about 30 lines that are different. Comparing the 1.6.x version of english.php to the 1.5.x version there are a few new strings. The 1.5.x file would be a good starting point, many are simple changes in date and time formats. If you are not in a hurry I can probably schedule some time in next week to do it. If you are in a hurry the work is very simple and would probably take you less than an hour.

Here is what I would do.

Copy the 1.5.x lang/english.gb.php file into your /lang folder on cpg 1.6.x
Edit the header section of the new file, the contributor name etc in a plain text editor.

On your desktop compare both the 1.5.x and 1.6.x /lang/english.php files using any file compare tool. You will easily see any language strings that have been added. There are not too many. Take a look and see if any need translating from US English to GB English. As a guess there are probably only a couple.

Copy those lines from the 1.6.x file to your new 1.6.x english.gb.php file then edit the translation part of the string as required.

Test your new file, then share your work here.
It is a mistake to think you can solve any major problems just with potatoes.

Dankriss

Thanks...


Just tried the who is online plugin and it didn't work... ahh well once 1.6 is up and running hopefully they will be made compatible..


Btw reason I am running 1.6 my server is PHP 7 now.. :)


Kriss :)
Good with HTML and CSS but no good with script... so please bear with me.. :)

phill104

Not sure which plugin you are talking about. If it is the onlinestats one it is updated and available here - https://github.com/coppermine-gallery/cpg1.6.x-plugins
It is a mistake to think you can solve any major problems just with potatoes.

Dankriss

Woohoo!  Thanks for that!


Kriss :)
Good with HTML and CSS but no good with script... so please bear with me.. :)

keks190

I have the style "acidtech_tiger" would like to insert the languages {LANGUAGE_SELECT_LIST}

in the file "theme.php" how and where does it work?

ron4mac

Just place {LANGUAGE_SELECT_LIST} anywhere that you would like in your theme's template.html file.
http://documentation.coppermine-gallery.net/en/theme_template.htm#theme_template_language_select_flags

Siava

Hi!
A few month ago I added Russian translate to pull requests of 1.6.08 version CPG.
https://github.com/coppermine-gallery/cpg1.6.x/pull/49

phill104

Quote from: Siava on August 16, 2020, 12:09:03 AM
Hi!
A few month ago I added Russian translate to pull requests of 1.6.08 version CPG.
https://github.com/coppermine-gallery/cpg1.6.x/pull/49

Excellent work. I have marked your account as translator.
It is a mistake to think you can solve any major problems just with potatoes.

Guitaristka

cpg1.6 - Is there a Russian language for the version?
music guitar

ron4mac

Quote from: Guitaristka on January 26, 2021, 07:07:43 PM
cpg1.6 - Is there a Russian language for the version?
You can use the language file contributed by Siava (above).
https://github.com/SiavaRu/cpg1.6.x/tree/patch-2/lang

Guitaristka

music guitar

Guitaristka

Quote from: ron4mac on January 26, 2021, 10:00:17 PM
You can use the language file contributed by Siava (above).
https://github.com/SiavaRu/cpg1.6.x/tree/patch-2/lang

The file itself opens russian.php.  When you put the choice of language
"Cannot retrieve contributors at this time"
music guitar