This is an example repository showing how to use Localazy with Nette and Contributte/Translation for localization management. To learn more, check out the blog post describing the set up in detail.
https://codesandbox.io/s/nette-i18n-example-9sgdu
This repository contains translations from an actual Localize Nette Application example app. You can try to run localazy download to see how it works. However, this app is in read-only mode, meaning that localazy upload will fail.
First, install dependencies using
composer installTo run the application run the following command from /www folder
php -S localhost:2222- sign up for Localazy,
- create an app, although English is recommended, you may use any language as source,
- select NEON integration option and install Localazy CLI,
- Retrieve your writeKey and readKey from the integration guide page and change them in
localazy.keys.json, - it is recommended to add
localazy.keys.jsonto .gitignore, - prepare template(s) for internationalization,
- run
localazy upload, - when you have accepted strings in other languages, run
localazy downloadand check locales folder for the new translations, - play around :-)
