MO
File
in UTF-8 EncodingThis section is not directly related to Access Manager. However, you should perform the following procedures when customizing the Access Manager CLI with a new language.
An MO file is commonly generated with a PO file. Hence, create a PO file and then generate the MO file.
Open a terminal window (if necessary).
As superuser create a temporary directory.
# mkdir /export/am_mo_gen
Change to the created directory.
# cd /export/am_mo_gen
Create an example.po file.
Open the empty example.po file in a text editor.
Add the following content to the file:
domain "example"
msgid "This is an example how to generate a Machine Object file in UTF-8 encoding"
msgstr "Cet example démontre comment générer un fichier Machine Object encodé avec UTF-8"
Add the charset specification to the bottom of the file, as follows:
“Content-Type: text/plain; charset=UTF-8\n”
Save the changes.