gildaspk:simpleschema-tapi18n-labels

v0.0.2Published 10 years ago

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

Meteor SimpleSchema Tapi18n labels

Allows to use Tapi18n for simple-schema labels

Installation

meteor add gildaspk:simpleschema-tapi18n-labels

Usage

Simply use the i18nLabel property on your schema:

var mySchema = new SimpleSchema({
  myProperty: {
    type: String,
    i18nLabel: 'myPropertyKey'
  }
});

Refer to the Tapi18n documentation to learn how to specify translations, etc.