Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djhi/meteor-simpleschema-tapi18n-labels
Allows to useTapi18n for SimpleSchema labels
https://github.com/djhi/meteor-simpleschema-tapi18n-labels
Last synced: 23 days ago
JSON representation
Allows to useTapi18n for SimpleSchema labels
- Host: GitHub
- URL: https://github.com/djhi/meteor-simpleschema-tapi18n-labels
- Owner: djhi
- Created: 2015-03-05T16:30:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-05T17:14:31.000Z (almost 10 years ago)
- Last Synced: 2024-11-08T04:44:10.009Z (3 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Meteor SimpleSchema Tapi18n labels
=========================Allows to use [Tapi18n](https://github.com/TAPevents/tap-i18n) for
[simple-schema](https://github.com/aldeed/meteor-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](https://github.com/TAPevents/tap-i18n) documentation to
learn how to specify translations, etc.