Skip to content

localazy/nette-i18n-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nette-i18n-example

How to localize Angular app with angular-i18n and Localazy

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.

Sandbox

https://codesandbox.io/s/nette-i18n-example-9sgdu

Testing out this repo

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 install

To run the application run the following command from /www folder

php -S localhost:2222

Adjusting for your own project

  • 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.json to .gitignore,
  • prepare template(s) for internationalization,
  • run localazy upload,
  • when you have accepted strings in other languages, run localazy download and check locales folder for the new translations,
  • play around :-)

About

An example repository showing how to use Localazy with Nette and Contributte/Translation plugin for translation management and localization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published