We have now updated our Pootle translation platform to a newer version, fixing some persistent problems with the string search functions. We are migrating the translations and accounts to the new system, so the users should not notice any major changes. Please, send us a notification if you detect any problem with your account or your translations.

The internationalization packages are updated from time to time, so you can get a new language-pack-zentyal- containing your language fixes eventually. If you don’t like waiting and want to try your translations right away, you can click on the ‘Translate’ tab inside your language section and then download the ‘zentyal.po’ file, using the ‘Download’ link.

http://blogs.zentyal.org/gueststars/files/2013/03/translate.png

You will need a local copy of the github Zentyal repository:

apt-get install git (if needed)
git clone git://github.com/Zentyal/zentyal.git

You will then, replace the ‘.po’ file in the repository. In my example I will overwrite zentyal/extra/language-packs/po/es.po. The file downloaded from pootle is named zentyal.po, so you will need to rename it.

Example:
mv ~/Downloads/zentyal.po ~/repos/zentyal/extra/language-packs/po/es.po

You will also need the package building tools:

apt-get install dpkg-dev

By default behavior is to build all the language packs, you probably don’t want this, so make a backup of the zentyal/extra/language-packs/debian/control file and then delete the unwanted packages.

Example for Spanish only:


Source: zentyal-language-packs
Section: web
Priority: optional
Maintainer: Zentyal Packaging Maintainers
Build-Depends: debhelper (>= 5.0.0), cdbs, po-debconf
Standards-Version: 3.8.2

Package: language-packs-zentyal-all
Architecture: all
Depends: language-pack-zentyal-es
Description: Zentyal translations for all supported languages
Zentyal is a Linux small business server that can act as
a Gateway, Unified Threat Manager, Office Server, Infrastructure
Manager, Unified Communications Server or a combination of them. One
single, easy-to-use platform to manage all your network services.
.
This metapackage includes the translations for all the languages.

Package: language-pack-zentyal-es
Architecture: all
Depends: zentyal-common (>= 3.0), ${misc:Depends}
Description: Zentyal translations for language Spanish
Zentyal is a Linux small business server that can act as
a Gateway, Unified Threat Manager, Office Server, Infrastructure
Manager, Unified Communications Server or a combination of them. One
single, easy-to-use platform to manage all your network services.
.
This package contains translations for the Spanish language.

Then, from the directory zentyal/extra/language-packs you will
execute the command dpkg-buildpackage -us -uc. When this process
is complete, you will find the .deb package in zentyal/extra,
language-pack-zentyal-es_3.0.1_all.deb in my case.

Then, just copy and install this package to your Zentyal machine:

dpkg -i language-pack-zentyal-es_3.0.1_all.deb

Restart the web interface…

service zentyal apache restart

And you should be able to see your updated Strings.

We encourage you to review the state of your native language translation and take the effort to help make Zentyal native for the people around you.

A post by Mateo Burillo