Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As a result, it may be necessary for developers to generate the .mo files for plugins manually - either because they will need these for their 3rd party plugin, or so that they can simply see the proposed changes to translations in a development environment.

 

 

 

...

Generating .mo Files

To generate a .mo file, the gettext msgfmt utility. For example:

Code Block
cd plugins_repo/openxDeliveryLimitations/plugins/etc/Site/_lang
msgfmt -o en.mo po/en.po 

This will re-create the en.mo file, based on the en.po file, for the Site component of the plugin in the openxDeliveryLimitations directory.

Note

For core Revive Adserver plugins, do NOT commit changed .mo files to the repository. See above for how .mo files are managed using Crowdin.