Angular-Localization-2

Angular-localization

Angular localization library. Makes it easy to manage languages on your website.

Installation

Using npm

Usage

Live Example

Injecting the library
Configuration
Example translation file assets/locals/en.json
Using the directive
Using the provider inside a controller

and then just html <body ng-app="yourApp"> <div ng-controller="yourController as ctrl"> <span>{{ctrl.foo}}</span> </div> </body>

Changing language

Documentation

(work in progress)

comments powered by Disqus
This page was last updated about 1 year ago.