OmenMon Localization
May 6, 2024 · View on GitHub
![]()
OmenMon Localization
This repository stores OmenMon interface translations into other languages.
Using
To use a translation, download the XML file, and copy the <String Key="..."> elements inside the <Messages> element of your OmenMon.xml configuration file:
<?xml version="1.0" encoding="utf-8"?>
<OmenMon>
<Messages>
<!-- Paste the translated strings here. Example:
<String Key="CliTranslated">Translated to [Language] by [Author]</String>
<String Key="GuiTranslated">Translated by [Author]</String> -->
</Messages>
</OmenMon>
For details, see the documentation.
System Settings
To display console messages with non-ASCII characters, you might additionally need to:
- Switch the code page to UTF-8:
chcp 65001 - Change the console font
Acknowledgements
zh_CNChinese translation contributed by @Initsnow. Thank you!
Contributing
To add a new translation:
- Start with
OmenMon.en_US.xmlas a template - Install as outlined in the Using section above
- Translate the interface messages
- Edit the XML file only when OmenMon is not running
- You do not have to translate everything, e.g. unit names such as Hz or °C
- Delete any entries you did not change
- Copy your
OmenMon.xmlconfiguration file toOmenMon.xx_YY.xml, where:xxis an ISO 639-1 language code, lower-caseYYis an ISO 3166-1 Alpha-2 country code, UPPER-case- For example,
en_USindicates English (United States), the default localization
- You can add your translation credit as
CliTranslatedandGuiTranslatedif you wish to do so - Remove your configuration, i.e. anything between
<Config>and</Config>and share the file here
Resources
- Main OmenMon repository is at https://github.com/OmenMon/OmenMon
- Documentation is available at https://omenmon.github.io/