-
Notifications
You must be signed in to change notification settings - Fork 12
Add update language
KonfrareAlbert edited this page Jul 20, 2016
·
5 revisions
To add or update a new language you have to create a Pull request with:
- The messages.po file downloaded from Transifex inside bot/locales/language/LC_MESSAGES.
- The messages.mo file, to compile it execute on the directory bot/locales/language/LC_MESSAGES:
msgfmt messages.po -o messages.mo
- If the language is new create a entry for the language on the variable avaible_languages with the language : language code on https://github.com/Xevib/osmbot/blob/master/bot/osmbot.py#L28
- If the language is RTL language create a entry for the language on the variable rtl_languages with the language code on https://github.com/Xevib/osmbot/blob/master/bot/osmbot.py#L37
Customization and Info Commands
- /settings - Configure OSMbot
- /help - Commands in OSMbot
- /legend - Emojis for each key=value
- /about - OSMbot credits
Basic Commands
Advanced Commands