0.0.13 • Published 9 years ago

@ampatspell/ember-cli-strings v0.0.13

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
9 years ago

ember-cli-strings

Simple internationalization addon for ember-cli

Install

$ ember install @ampatspell/ember-cli-strings

Configuration

Add strings file:

// app/strings.js
export default {
  'hey': {
    en: 'Hey there',
    lv: 'Sveiks'
  }
};

Override service:

// app/services/strings.js
import { Service } from 'strings';
import strings from '../strings';

export default Service.extend({

  strings: strings,
  available: ['en', 'lv'],
  localeLocalStorageKey: '52f.locale',

});
0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago