Internationalization

Games use i18next keys instead of inline English strings.

Files

File Content
locales/en/apgames.json Game names, descriptions, UI strings
locales/en/apresults.json Move result / chat log strings
locales/fr/, locales/it/ Partial translations

In game code

description: "apgames:descriptions.complica"

Add keys when introducing new user-visible text. Variant names in gameinfo also reference apgames.json.

addResource

Front end merges bundles via APGames.addResource(lang) — see API.

Example games