Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Angular UI Translation

(Bower repository for production use)

Access to the JS translation files generated by willdurand/JSTranslationBundle

## Usage

  • Include the js file :
<script type="text/javascript" src="/bower_components/angular-ui-translation-bower/angular-translation.js"></script>
  • Register module into your application :
angular.module('MY_APP', [ 'ui.translation' ]);
  • Use the filter :

Simple translation

{{ 'trans_key'|trans:placeholder:domain }}

Translation with pluralization

{{ 'trans_key'|transChoice:count:placeholder:domain }}

About

Access to the JS translation files generated by willdurand/JSTranslationBundle

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors