Skip to content

abdullah/calypso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calypso-extractor extracts and syncs i18n keys from code base

Install

yarn add calypso-extractor

Usage

Add following line as script

"calypso-extractor": "calypso-extractor -c calypso-extractor-config.js"

Configurations

calypso-extractor-config.js

module.exports = {
  root: 'src',
  languages: {
    base: 'i18n/en.json',
    list: [
      'i18n/en.json',
      'i18n/tr.json',
      'i18n/fr.json',
    ]
  }
};
  • root: The project root path.
  • languages: This option must be set. Collected keys will be extracted as base option.

In memory of Captain Cousteau

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •