0.0.13 • Published 8 years ago

@ampatspell/ember-cli-strings v0.0.13

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
8 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

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago