vazco / universe-i18n-blaze

Blaze helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vazco/Universe i18n Blaze

[Deprecated] This project will be no longer maintained. Blaze integration was moved to the main package - meteor-universe-i18n.

 

Provides translation helper and global variable __ that are reactive ( in Meteor way )

Example (full path)

{{__ 'tools.ok'}}

Example relative path

Register namespace in template:

Template.myTemplate.bindI18nNamespace('tools');
<template name='myTemplate'>
    <span>{{__ '.ok'}}</span>
</template>

Namespaces are inherited from parents, so children have parents namespace (if they have not own namespace.)

License

Like every package maintained by Vazco, Universe i18n Blaze is MIT licensed.

About

Blaze helper

License:MIT License


Languages

Language:JavaScript 100.0%