To alter a locale, follow these steps:
/usr/local/expand/share/locale/xx_XX
where xx is the abbreviation for the name of the language this locale is in, and
XX is the abbreviation for the name of the country this locale is made for.
locale_addon.xml.sample addon file and copy it into locale_addon.xml :cp locale_addon.xml.sample locale_addon.xml
/usr/local/expand/share/locale/xx_XX/locale.xml
find the message that you need to change and copy it in the buffer. Remember the section it belongs to.
/usr/local/expand/share/locale/xx_XX/locale_addon.xml
For example, you would like to change the message of the 'action_adv_errors' key. First, you need to find the corresponding section in the addon file. In this case, this is the <name>messages_keys</name> section. Then you need to paste the copied message in the <phrase> </phrase> field, and change it as desired
<entry>
<keyword>action_adv_errors</keyword>
<phrase>Some not useful key value.</phrase>
<comment/>
</entry>
to
<entry>
<keyword>action_adv_errors</keyword>
<phrase>My own very useful key value.</phrase>
<comment>My comment for this key.</comment>
</entry>
After you modified the addon file, do the following:
If the addon file is already installed in the locale, you need to follow steps 2 and 3 only.