Skip to content

Releases: creolingo/translate-maker

fixed async loading of namespaces

23 Mar 22:51
Compare
Choose a tag to compare

Loading of locales and namespaces is synced.
I switched to jest instead of should and mocha.

Big refactor

21 Dec 13:23
Compare
Choose a tag to compare

I refactored whole library.
It is based on async / await functions.
Object notation was removed because it caused a lot of problems and it was slow.

deps and small bug fix

07 Sep 13:21
Compare
Choose a tag to compare

updated @deps
merged bug fix #4

CLDR 29 and added UMD build

08 May 21:02
Compare
Choose a tag to compare

added UMD build
updated documentation
@deps
CLDR 29

deps

06 Mar 22:34
Compare
Choose a tag to compare

babel 6.6
eslint

Babel 6 + ordinal filter

18 Jan 20:15
Compare
Choose a tag to compare

Added Babel 6
Added ordinal filter
You can use:

import Translate from 'translate-maker';

const t = new Translate();
t.set({
  takeRight: `Take the {$position, ordinal,
    one {#st}
    two {#nd}
    few {#rd}
        {#th}
  } right`
});

const result = t.get('followers', {
  position: 2
});
console.log(result); // => Take the 2nd right

ICU

03 Jan 16:58
Compare
Choose a tag to compare
ICU

added full ICU support
set mode to Mode.ICU

0.2.28

03 Jan 15:30
Compare
Choose a tag to compare

added cache
speed up processing with cache modules

0.2.18

02 Jan 20:18
Compare
Choose a tag to compare

added adapters ( File and Memory)
default adapter is Memory adapter

0.2.12

28 Nov 20:16
Compare
Choose a tag to compare
  • Added plural caching