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?
Posts: 6818
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.
Posts: 3
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';
Posts: 6818
Looks perfect !
still does not work ?
Posts: 3
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?
Posts: 6818
can you send me the 2 .po files and the nls ?
via email, i will have a look at it.
Regards,
Jens
Posts: 2
and what was the problem?? :roll:
Posts: 6818
he only translated and generated core .po file.
Gallery 1 wants
core .po / .mo
config .po / .mo
-nls.php
Regards,
Dj