[Fedora-packaging] Packaging of .po files for Drupal

Volker Fröhlich volker27 at gmx.at
Thu Jan 27 12:13:23 UTC 2011


Dear list readers,

the PHP CMS Drupal can be extended with modules.

These modules usually ship with .po files. These files are the original source 
of translation, when the module is activated. There are no .mo files. Drupal 
parses the .po files and eventually puts the results into its database.

The .po files go to 
%{_datadir}/drupal6/modules/name_of_the_module/translations.

Usually the .po files are called de.po, ja.po and so forth. In other cases, 
there are also prefixes, such as includes.*.po, includes-views.*.po.

I suppose, these files should be labeled %lang, but %find_lang doesn't seem to 
work. How should we treat that case?

Volker Fröhlich


More information about the packaging mailing list