Basque translation problem

hommi

Joined: 2005-07-22
Posts: 3
Posted: Fri, 2005-07-22 10:17

Hi!

I'm having problems installing the basque translation (eu_ES). We have almost finished the tranlation of the ".po" file and we are trying to install it to test how it is going.

These are the steps we are following:

1) Put the translation file: locale/eu_ES/eu_ES-gallery_core.po

2) run ./make_mo_files.sh -po eu_ES
Checking ../locale OK
only eu_ES
eu_ES

Found : ../locale/eu_ES/eu_ES-gallery_core.po
Stripped: eu_ES-gallery_core.po
Language = eu_ES
Module = core
Checking if ../locale/eu_ES/LC_MESSAGES exists OK
Making eu_ES/LC_MESSAGES/eu_ES-gallery_core.mo file

3) Go to /gallery/setup/index.php and rerun configuration wizard. But the new language (Basque) is not available at all.

Does anybody know where is the problem?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2005-07-22 10:22

Hello,

you need a eu_ES-nls.php file in locale/eu_ES.

Just us anohter -nls.php file as template.
There are things like directio, native name etc.

Regards,

Jens

P.S.: dont forget to send me the translation files, so i can make an official langpack.

 
hommi

Joined: 2005-07-22
Posts: 3
Posted: Fri, 2005-07-22 10:38

The content of the eu_ES directory:

LC_MESSAGES
eu_ES-gallery_core.po
eu_ES-nls.php
flagimage

The content of the eu_ES-nls.php:

/**
** Native languagename
**/
$nls['language']['eu_ES'] = 'Euskara';

/**
** Aliases for language with different browser and gettext codes
**/

$nls['alias']['eu'] = 'eu_ES';

/**
** Aliases for language which we substitte or send by NUKE
**/

$nls['alias']['euskara'] = 'eu_ES' ;
$nls['alias']['eu_ES.ISO8859-1'] = 'eu_ES' ;

/**
** phpNuke
**/
$nls['phpnuke']['eu_ES'] = 'euskara';

/**
** postNuke
**/
$nls['postnuke']['eu_ES'] = 'eus';

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2005-07-22 10:48

Looks perfect !

still does not work ?

 
hommi

Joined: 2005-07-22
Posts: 3
Posted: Fri, 2005-07-22 11:16

No, it doesn't. It downloaded ca_ES and installed whithout problems. I checked ther ca_ES files and are the same as the eu_ES files I created.

Any advice?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2005-07-22 11:24

can you send me the 2 .po files and the nls ?

via email, i will have a look at it.

Regards,

Jens

 
dsgncr8or

Joined: 2004-12-30
Posts: 2
Posted: Sun, 2005-07-24 16:10

and what was the problem?? :roll:

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2005-07-25 02:14

he only translated and generated core .po file.

Gallery 1 wants

core .po / .mo
config .po / .mo
-nls.php

Regards,

Dj