Skip to content

cloudfoundry-community/translate_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Translate_cli

This tool helps when doing translations for the cloudfoundry cli.

It basically brings all the translations into one big file so that you only need to edit one file instead of many.

Usage

Reading all translations and generation the big file:

  $ ./translate_cli es r
  $ all_es.json generated with translations for es

You can modify this new file and do some translations:

  $ vim all_es.json

Now its time to write those translations in the cli:

  $ ./translate_cli es w
  $ 1 translations were applied in /home/ubuntu/gosource/src/github.com/cloudfoundry/cli/cf/i18n/resources/es/cf/command_runner/es_ES.all.json
  $ 2 translations were applied in /home/ubuntu/gosource/src/github.com/cloudfoundry/cli/cf/i18n/resources/es/cf/terminal/es_ES.all.json

About

Help command to translate Cloudfoundry cli.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages