You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Label name must not begin with a digit and contain only alphanumeric characters or '_'.": "Label name must not begin with a digit and contain only alphanumeric characters or '_'.",
After you run i18nextToPo('ja', fs.readFileSync(file), { language: 'ja', foldLength: 0 }).then( save(...));, you get something like this:
msgctxt "'."
msgid "Label name must not begin with a digit and contain only alphanumeric characters or '"
msgstr ""
Expected behavior
The expected PO file would look like this:
msgid "Label name must not begin with a digit and contain only alphanumeric characters or '_'."
msgstr ""
Your Environment
runtime version: node 10.16.2
i18next version: 19.4.3
os: Mac
The text was updated successfully, but these errors were encountered:
馃悰 Bug Report
It seems like keys can't contain underscores.
To Reproduce
We have a JSON file that contains the following:
After you run
i18nextToPo('ja', fs.readFileSync(file), { language: 'ja', foldLength: 0 }).then( save(...));
, you get something like this:Expected behavior
The expected PO file would look like this:
Your Environment
The text was updated successfully, but these errors were encountered: