Code Monkey home page Code Monkey logo

Comments (5)

Jeehut avatar Jeehut commented on July 28, 2024

You mean your are localizing your Info.plist using Base-Localization having a Info.plist file under Base.lproj and multiple Info.strings files under your language codes? Well, to be honest, until now I have not added any string extraction feature (both code and Storyboards are supported by Apple command line tools). But since the Info.plist is an XML file it should be possible.

You probably wouldn't want to translate all values though, only some. How would we know which once to localize? Maybe add something like #bc-localize! similar to #bc-ignore!?

Another question: Do the number of localized fields change often? If not, than I think doing the changes by hand shouldn't bee too much of a horror. At least not as much as it was with Code and Interface Builder files before BartyCrouch existed. ^^

from bartycrouch.

moray95 avatar moray95 commented on July 28, 2024

Yes, I am in fact using an InfoPlist.strings file under my localizations. You are right that there are not a lot of strings to localize and they do not change very often. However, I would much likely appreciate such a tool just to make sure everything is up to date.

from bartycrouch.

Jeehut avatar Jeehut commented on July 28, 2024

I'm all okay with this feature but since it doesn't solve a big problem I'm very unlikely to ever have the spare time to implement it. I'd be happy to merge a good Pull Request with such a feature though. I think the biggest part would be to extract the strings to be localized from within the plist file.

from bartycrouch.

Jeehut avatar Jeehut commented on July 28, 2024

Also note that there are many apps (e.g. Linguan) that give you an overview of all your translations and let you update them easily. BartyCrouch is only here to make sure new keys are added from files that change often (Code & IB Files). I think you can find yourself a nice and simple solution for the Info.plist file using one of those tools.

from bartycrouch.

Jeehut avatar Jeehut commented on July 28, 2024

After having a second thought on this I consider this out of scope of BartyCrouch's features. See my previous comments for rationale.

from bartycrouch.

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.