nu-ojtc
v0.1.16
Published
A utility to translate ojet resource files
Downloads
22
Maintainers
Readme
Ojet Translation Companion
About
This is a simple tool that helps people using oracle jet or any other library that uses requirejs i18n style resource bundle for Localizing their app.
Let's take a look what can you do with it.
- It can scan all your resource files and create and excel out of it for translation.
- Once you have a translated excel files you can use it for generating local specific files.
Installation
npm install -g nu-ojtc
Usage
Open a terminal and type nu-ojtc
.
You will get a set of instructions.
Note
The translated excel sheet that you are going to use for generating locals should have only one sheet and should have a header with default and language code like below.
| default | en | ar | ro | zh-CN | |---|---|---|---|---| |yes| yes | نعم فعلا| da | 是 | |no|no|لا|Nu| 没有 |
Make sure not to have spaces in excel file names.
Change Log
This version fixes some critical changes
- Fixes wrong local files generation
- Adds multiple language local generation support.
Open source
The code still needs some clean up before I can put it on github.
License
MIT License
Copyright (c) 2017 Neyazul Haque