Skip to content

About

Enhance the genstrings command by adding merging capabilities

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

pygenstrings

Enhance the genstrings command by adding merging capabilities

Usage

$ python genstring.py -p ../Relative/Path/To/Your/Project/Root
  • It takes care of runing the genstrings command on all files *.m
  • Merge the results with previous version of the Localizable.string file
  • Inform you if it works correctly

Known Issues

  • genstrings doesn't like path containing spaces, so avoid subfolders containing spaces. Otherwise the Localizable.string will not be complete

  • You need to respect the format used by the genstrings command unless it will breaks. So, to avoid issues use strictly the format below for each translated text. Also do not remove the line break between two fields or it will breaks too.

    /* Comment for localizable string */
    "Your string" = "Translated string";
    
    /* Comment for localizable string */
    "Your string #2" = "Translated string #2";

About

Enhance the genstrings command by adding merging capabilities

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages