Skip to content

Access to the JS translation files generated by willdurand/JSTranslationBundle

Notifications You must be signed in to change notification settings

InnovaLangues/angular-ui-translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published