mongare70 / angular-internationalization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Internationalization (Static Data)

This is angular internationalization using ngx-translate

Installation

  • Clone the repository git clone git@github.com:mongare70/angular-internationalization.git
  • Ensure you've installed the Angular CLI
  • Run npm install
  • Run ng serve

Translation

  • cd into translate folder and follow README.md instructions
  • cd back to application's root folder
  • Run export GOOGLE_TRANSLATE_API_KEY=<your api key>
  • Run npm run translate -- --lang=<language_code> to create corresponding [language_code].json file you desire

Authors

About


Languages

Language:TypeScript 46.6%Language:JavaScript 37.5%Language:HTML 14.5%Language:CSS 1.3%