https://github.com/mozilla/pontoon-to-json
INACTIVE - http://mzl.la/ghe-archive - A node CLI to convert Pontoon's .properties to a single JSON file
https://github.com/mozilla/pontoon-to-json
inactive unmaintained
Last synced: 9 months ago
JSON representation
INACTIVE - http://mzl.la/ghe-archive - A node CLI to convert Pontoon's .properties to a single JSON file
- Host: GitHub
- URL: https://github.com/mozilla/pontoon-to-json
- Owner: mozilla
- License: mpl-2.0
- Archived: true
- Created: 2016-08-18T15:19:24.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T22:02:53.000Z (over 7 years ago)
- Last Synced: 2025-01-16T16:26:44.876Z (over 1 year ago)
- Topics: inactive, unmaintained
- Language: JavaScript
- Size: 56.6 KB
- Stars: 9
- Watchers: 39
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pontoon-to-JSON
A build process CLI tool to convert the locale directory structure and .properties files output by [Pontoon](https://pontoon.mozilla.org) to JSON for use in JavaScript based l10n.
## Arguments
`--src` a directory to grab properties from. Defaults to `locales` at the project root
`--dest` a directory to output locales.json. Defaults to `dist` at the project root
## Config env
### 2.x
`SUPPORTED_LOCALES` a csv string with the locales to convert to json. Example `en-US, de, ja`. Defaults to `*`.
### 1.x
`SUPPORTED_LOCALES` an array with the locales to convert to json, or a string with a `*` for all. Example `["en-US", "de", "ja"]`. Defaults to `*`.