Skip to content

References an existing tool and converts iOS string files into Android's

Notifications You must be signed in to change notification settings

JerryMig/localiztion_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Based on https://github.com/tmurakam/cashflow/blob/0a01ac9e0350dfb04979986444244f8daf4cb5a8/android/convertStrings.rb

1. Download all iOS strings and name them according to its language
   eg. Localizable(ch).strings, Localizable(en).strings, ..
   () and the language are important as ch, en, ..
   will be the name of the directory in which the generated strings.xml goes.

2. Put all the re-named iOS string files in the directory 'strings'

3. Go to Terminal and cd to where `string_converter_file.rb` and `string_converter.rb` are.

4. Type in the command `ruby string_converter_file.rb` and voila!

5. You'll see a new directory named 'results' where your `string_converter_file.rb` is.

## Encoding should be UTF-8 or you’ll get an argument error.

About

References an existing tool and converts iOS string files into Android's

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages