Development Team/Almanac/Activity Bundles: Difference between revisions
| Line 82: | Line 82: | ||
= Activity Name Localization/Translation = | = Activity Name Localization/Translation = | ||
Localized data lives in the locale directory. Each language stores its localized keys in a <u>separate</u> directory named for the language's ISO code. Localized keys from the 'activity.info' file are stored in the 'activity.linfo' files in that directory. For example, German-localized German (as opposed to Swiss-localized German) language translations are stored in the 'de_DE/activity.linfo' file: | |||
At this time, only translations for the 'name' key from the 'activity.info' file is supported. A localized 'de_DE.linfo' file would look like: | Example.activity/ | ||
exampleactivity.py | |||
activity/ | |||
activity.info | |||
locale/ | |||
de_DE/ | |||
activity.linfo | |||
de_CH/ | |||
activity.linfo | |||
At this time, only translations for the 'name' key from the 'activity.info' file is supported. A localized 'de_DE/activity.linfo' file would look like: | |||
name = Web | name = Web | ||