Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 994 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 994 Bytes

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.