/bruno

Converts a localizable.strings (iOS) to a strings XML file (Android) and vice-versa

Primary LanguageRuby

⚠️ This project is not maintained anymore so please, use attranslate instead.

Bruno Build Status Code Climate Gem Version

Bruno is a small tool to convert your Localizable.strings (iOS) files into strings.xml (Android) and vice versa.

Installation

To install Bruno:

gem install bruno

Examples

From iOS to Android:

bruno convert --in Localizable.strings --out strings.xml

Or, if you already have the strings.xml file:

bruno convert --in strings.xml --out Localizable.strings

Bruno will detect automatically the format for you, so the name of the file does not matter.

In future releases

  • Support for comments
  • Handle invalid formats of files

Tested Compatibility

It should work with any Ruby 2.X version but Travis is testing:

  • 2.5.1
  • 2.4.4
  • 2.3.7
  • 2.1.2

Changelog

0.0.5 September 17, 2018

Simplified gemspec

0.0.4 September 17, 2018

Internal refactoring for cleaner code

0.0.3 September 17, 2018

Updated dependencies

0.0.2 August 2, 2014

Improved code, fixed some minor mistakes

0.0.1 May 18, 2013

First release

Development

Fork the project and install all the dependencies with:

bundle

To run the tests:

rake

To see available tasks:

bundle exec rake -T

Author

José M. Gilgado

License

MIT License