Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Updating translatable strings

darkalchemy edited this page Feb 3, 2021 · 2 revisions

To update a current locale or create a new local.

  • gettext must be installed

  • The local must be installed on the system first.

  • Use this format for locale code 2 lowercase underscore 2 uppercase, en_US

  • The locale must be included in the definitions.php file

  • copy i18n.sh to Pu-239 root directory cp vendor/delight-im/i18n/i18n.sh .

  • make it executable chmod a+x i18n.sh

  • Create a new or update an existing locale by running ./i18n.sh en_US

  • Use POEdit to edit/create the translations

  • Update the translation ./i18n.sh en_US