Skip to content

Enhance the genstrings command by adding merging capabilities

Notifications You must be signed in to change notification settings

asolovev/pygenstrings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.7%
  • Ruby 27.3%