GithubHelp home page GithubHelp logo

Comments (5)

netbe avatar netbe commented on July 20, 2024

Hi @ekurutepe,

Could you be more explicit on what do you expect? Do you an example we can work on ?

Thanks ;)

from babelish.

ekurutepe avatar ekurutepe commented on July 20, 2024

Sure. I’m working on it now. Expect a detailed example or pull request later today :)

E.

On 23 Oct 2013, at 11:17, François Benaiteau [email protected] wrote:

Hi @ekurutepe,

Could you be more explicit on what do you expect? Do you an example we can work on ?

Thanks ;)


Reply to this email directly or view it on GitHub.

from babelish.

ekurutepe avatar ekurutepe commented on July 20, 2024

This one is caused when running strings2csv as such:

strings2csv -i en.lproj/Localizable.strings de.lproj/Localizable.strings

Since the lang_order array is filled with basename(filename), it ends up being all :Localizable.

Not good.

What do you say we just take the full file path as the key in the lang_order array? It seems to work for me.

from babelish.

netbe avatar netbe commented on July 20, 2024

Yep need to change:
https://github.com/netbe/CSV-to-iOS-Localizable.strings-converter/blob/master/lib/strings2csv/converter.rb#L18-L23

Using the file path will work if you assume you always use .lproj/Localizable.strings maybe good idea for default headers to parse this .

Other solution is to use the --headers and specify what you want as headers:
https://github.com/netbe/CSV-to-iOS-Localizable.strings-converter/blob/master/lib/strings2csv_command.rb#L12

from babelish.

netbe avatar netbe commented on July 20, 2024

@ekurutepe version 0.2.2 includes this change, thanks. Available on Rubygems

from babelish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.