0.12.0 • Published 7 years ago
poe-i18n v0.12.0
poe-18n
i18n utility for Path of Exile@3.3.0
with minimal dependencies.
Install
$ npm install --save poe-i18n
Usage
The package provides translations that are currently support by the game client. Additional languages can be used but I'm not planning on maintaining languages that I can't parse from the game data.
import { formatStats } from 'poe-i18n';
import stat_descriptions from 'poe-i18n/locale-data/en/stat_descriptions.json'
const merciless_translation: string[] = formatStats(
[{ id: 'physical_damage_+%', value: 150 }],
{ datas: { stat_descriptions } }
);
console.log(merciless_translation); // ['+150% increased Physical Damage']
Documentation
License
MIT
0.12.0
7 years ago
0.11.0
7 years ago
0.10.0
7 years ago
0.9.1
7 years ago
0.9.0
7 years ago
0.8.0
7 years ago
0.8.0-beta.5
7 years ago
0.8.0-beta.4
7 years ago
0.8.0-beta.3
7 years ago
0.8.0-beta.2
7 years ago
0.8.0-beta.1
7 years ago
0.7.1
7 years ago
0.7.0
7 years ago
0.6.1
7 years ago
0.6.0
7 years ago
0.6.0-rc1
7 years ago
0.5.0
7 years ago
0.4.0
7 years ago
0.3.1
7 years ago
0.3.0
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago