| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a basic sample using locize with react-intl.
features supported:
Important: make sure you toggle the publish format for your project to json flat and have the i18n format set to icu / messageformat! To match react-intl format of json when downloading.
npm i && npm start and http://localhost:3000 should open automatically.
Refresh your browser window with your locize project to see the newly added strings.
Add the ?incontext=true query parameter http://localhost:3000?incontext=true, login in the popup window -> click a text fragment to edit it directly.
Add an additional language translate it using the locize UI. Open http://localhost:3000/?lng=de to eg. open app with german language. (Attention the call for supported languages is cached for performance reasons and might take 1 hour to reflect the newly added language support!).
For implementation details see comments in src/locize-helper.js
| Back | FazBrowse Home | New Git URL |