Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

mozilla/pontoon-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pontoon-to-JSON

A build process CLI tool to convert the locale directory structure and .properties files output by Pontoon 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 *.

About

INACTIVE - http://mzl.la/ghe-archive - A node CLI to convert Pontoon's .properties to a single JSON file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published