forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: witchdoctor on June 22, 2006, 10:55:24 pm

Title: Photo_shop plugin: my dutch translation is not shown...?
Post by: witchdoctor on June 22, 2006, 10:55:24 pm
Hi,

This plugin is indeed very handy and I have translated the english.php into dutch and created a dutch.php file and uploaded it
to the language folder within the plugin/photo_shop/ folders. But I got still the English version... Obvious I'm forgetting something?

Could you point me in the right direction... (@Stramm: if possible in Dutch or in simple English please, i find it something really difficult to make
myself clear in English, that's why my other topic about batch-add & red crosses take so much time and posts  :-[ )

Thanks,

Roland
Title: Re: Photo_shop plugin: my dutch translation is not shown...?
Post by: Stramm on June 23, 2006, 08:00:30 am
please attach your lang file to your next post
Title: Re: Photo_shop plugin: my dutch translation is not shown...?
Post by: witchdoctor on June 23, 2006, 08:06:52 am
Sorry, I did not read all the threads running here... I saw in another post that you give this addition for these three files

photo_shop_admin.php
photo_shop_checkout.php
include/init.inc.php

Code:
require('plugins/photo_shop/lang/english.php');

and replace with

Code:
if (!file_exists("plugins/photo_shop/lang/{$CONFIG['lang']}.php"))
  $CONFIG['lang'] = 'english';
require "plugins/photo_shop/lang/{$CONFIG['lang']}.php";

I think I'll have todo that  ;D

Roland
Title: Re: Photo_shop plugin: my dutch translation is not shown...?
Post by: Stramm on June 23, 2006, 08:40:36 am
Sorry, I did not read all the threads running here... I saw in another post that you give this addition for these three files

photo_shop_admin.php
photo_shop_checkout.php
include/init.inc.php

Code:
require('plugins/photo_shop/lang/english.php');

and replace with

Code:
if (!file_exists("plugins/photo_shop/lang/{$CONFIG['lang']}.php"))
  $CONFIG['lang'] = 'english';
require "plugins/photo_shop/lang/{$CONFIG['lang']}.php";

I think I'll have todo that  ;D

Roland

no, that has already been changed if you download the latest version
Title: Re: Photo_shop plugin: my dutch translation is not shown...?
Post by: witchdoctor on June 23, 2006, 11:32:06 am
In the version I downloaded 2 days ago (1.4.8. plugin package at sourceforge) this was not changed... I did it myself and it is
working fine now.

But If I have to get the most recent version, where do I have to go for downloading?
Title: Re: Photo_shop plugin: my dutch translation is not shown...?
Post by: Stramm on June 23, 2006, 11:43:06 am
http://forum.coppermine-gallery.net/index.php?topic=32231.0
Title: Re: Photo_shop plugin: my dutch translation is not shown...?
Post by: witchdoctor on June 23, 2006, 11:51:38 am
Thanx  :D