Revision as of 23:12, May 1, 2018 by Tsnarski (talk | contribs)
Jump to: navigation, search

Localization

Important
Offers plugin is defferent from other plugins because all the strings dispalyed in the UI are not hard coded and passed in via the Open command. Thus you will have to learn how localization works under the hood to get it working with offers.

Offers Localization Overview

Localization works by looking for specific strings containing @18n and replacing them with strings defined in your predefined localization JSON file. There are 2 things that you will need to set up to get everythign working:

1) Pass in the appropriate @18n string to the open command 
2) Update your JSON internatianilization files. 

Open Command Usage

how to pass strings to open command

JSON definition

how to define variables in your JSON internatianilization file

Comments or questions about this documentation? Contact us for support!