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 :)
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.
I don't have the UK English on mine just the US version... is there somewhere to download it?
Kriss :)
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.
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 :)
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
Woohoo! Thanks for that!
Kriss :)
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?
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
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
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.
cpg1.6 - Is there a Russian language for the version?
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
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
thank you very much!
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"