Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention jed1.x format in documentation #23

Open
weekens opened this issue Jan 13, 2017 · 1 comment
Open

Mention jed1.x format in documentation #23

weekens opened this issue Jan 13, 2017 · 1 comment

Comments

@weekens
Copy link

weekens commented Jan 13, 2017

Besides jed, po2json also accepts jed1.x format, which is not mentioned in documentation.

In fact, only after specifying jed1.x I was able to get my messages.js working with Jed v1.1.1.

The output of these two formats differs. In jed case, a leading null is inserted into a message specification array:

...
"Overload": [null, "Перегрузка"],
...

jed1.x:

...
"Overload": ["Перегрузка"],
...

The jed1.x format should definitely be mentioned in documentation.

@jhotadhari
Copy link

Hi,
had a similar problem.
Solution that works for me is using a newer version of po2json. And I still use jed as format.

npm i po2json --save-dev installed version 1.0.0-alpha

Output of npm ls po2json is:
├─┬ grunt-po2json@0.3.0
│ └── po2json@1.0.0-alpha deduped
└── po2json@1.0.0-alpha
So the newer version is now used by grunt-po2json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants