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: Different Languages  (Read 19543 times)

0 Members and 1 Guest are viewing this topic.

Dankriss

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Female
  • Posts: 97
    • Nikmania
Different Languages
« on: January 11, 2018, 10:50:11 am »

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 :)
Logged
Good with HTML and CSS but no good with script... so please bear with me.. :)

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Different Languages
« Reply #1 on: January 11, 2018, 12:58:49 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Dankriss

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Female
  • Posts: 97
    • Nikmania
Re: Different Languages
« Reply #2 on: January 11, 2018, 01:00:16 pm »

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


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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Different Languages
« Reply #3 on: January 11, 2018, 01:18:17 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Dankriss

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Female
  • Posts: 97
    • Nikmania
Re: Different Languages
« Reply #4 on: January 11, 2018, 01:20:53 pm »

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 :)
Logged
Good with HTML and CSS but no good with script... so please bear with me.. :)

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Different Languages
« Reply #5 on: January 11, 2018, 01:33:26 pm »

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
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Dankriss

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Female
  • Posts: 97
    • Nikmania
Re: Different Languages
« Reply #6 on: January 11, 2018, 01:34:41 pm »

Woohoo!  Thanks for that!


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

keks190

  • Coppermine newbie
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 9
Re: Different Languages
« Reply #7 on: February 01, 2018, 11:15:23 am »

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?
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Different Languages
« Reply #8 on: February 01, 2018, 01:08:56 pm »

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
Logged

Siava

  • Translator
  • Coppermine newbie
  • **
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 3
Re: Different Languages
« Reply #9 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Different Languages
« Reply #10 on: August 27, 2020, 11:55:58 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Guitaristka

  • Coppermine newbie
  • Country: ru
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Rock Ladies - goin' crazy или Rock-Lady, творящие безумство!
Re: Different Languages
« Reply #11 on: January 26, 2021, 07:07:43 pm »

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

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Different Languages
« Reply #12 on: January 26, 2021, 10:00:17 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
Logged

Guitaristka

  • Coppermine newbie
  • Country: ru
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Rock Ladies - goin' crazy или Rock-Lady, творящие безумство!
Re: Different Languages
« Reply #13 on: January 27, 2021, 06:49:33 am »

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!
Logged
music guitar

Guitaristka

  • Coppermine newbie
  • Country: ru
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Rock Ladies - goin' crazy или Rock-Lady, творящие безумство!
Re: Different Languages
« Reply #14 on: January 27, 2021, 07:40:39 am »

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"
Logged
music guitar
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.