universe:i18n-blaze

v1.5.0Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Universe I18n Blaze

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

Example (full path)

{{__ 'tools.ok'}}

Example relative path

Register namespace in template:

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

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