Coder Social home page Coder Social logo

Localization about glasses HOT 11 OPEN

fkuehne avatar fkuehne commented on September 26, 2024
Localization

from glasses.

Comments (11)

pdherbemont avatar pdherbemont commented on September 26, 2024

I think we could probably export our localized string and merge them with VLC. I think we should stick to cocoa way of doing it and build some script to read and export to gettext .po. We could discuss and settle this at the VDD.

from glasses.

fkuehne avatar fkuehne commented on September 26, 2024

Sounds like a hack, but it is probably a good idea to achieve localization in a broader range. Recruiting translators for Lunettes itself would be a tough job.

Let's discuss it next week :-)

from glasses.

pdherbemont avatar pdherbemont commented on September 26, 2024

Per discussion with xtophe, if we have less than 30% common strings with VLC, it doesn't make sense to share the same string base.

Anyway, we need to extract the string from the nib, and from source files. This requires some scripting if we want to do it write.

http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPInternational/Articles/LocalizingInterfaces.html
http://wincent.com/a/products/wincent-strings-util/

from glasses.

fkuehne avatar fkuehne commented on September 26, 2024

There is also iLocalize by Arizona Software, which offers free licenses for FOSS projects. It's evil proprietary software though, but personally, I don't care.

http://www.arizona-software.ch/ilocalize/

from glasses.

CarterA avatar CarterA commented on September 26, 2024

You really shouldn't directly localize strings inside nib files, you should localize the nibs as a whole. This prevents issues involving the sizing of controls. Apple built this functionality in for a reason.

from glasses.

fkuehne avatar fkuehne commented on September 26, 2024

Localizing xibs as a whole is a good idea for commercial projects with localizers who know how to deal with Interface Builder.
VLC used to be localized with gettext, which basically means that there is one xib for all 30 languages, where the languages with the longest strings defined the UI elements' sizes.

IMO, this approach would make sense here as well, as most of our potential translators will be more familiar with a text editor than anything else.
I'd be happily proven wrong here, but maintaining 20 to 30 xib files for the same window is much more work than keep a single one up-to-date...

from glasses.

pdherbemont avatar pdherbemont commented on September 26, 2024

The tools above allow us to merge all files to translate in just one text file. And then do the reverse operation to build the translated nib. This requires some scripting though.

from glasses.

ponychicken avatar ponychicken commented on September 26, 2024

i could provide a german localization.

from glasses.

CarterA avatar CarterA commented on September 26, 2024

I'd like to go over the english localization before we put out a beta or a release candidate. I'm quite the grammar nerd, and I'll make sure there are no errors.

from glasses.

fkuehne avatar fkuehne commented on September 26, 2024

Carter, that would be awesome!

sf1nx0r, as I'm a native German speaker, I could probably lend a hand there as well, but focussing on the code while others doing the translation is a good thing :)

from glasses.

pdherbemont avatar pdherbemont commented on September 26, 2024

I do plan to do a first "test" release next week. Better hurry :)

from glasses.

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.