Coder Social home page Coder Social logo

lost-in-translation's Introduction

Lost-In-Translation

Update Nov 2nd 2015

It is working! Being more general seems to be a good idea. After examining +NSLocale preferredLanguages, I renamed the localization directory to ksh.lproj and things work as expected!

Qapla'! Now working for Klingon, too

Update

As @_mochs found out, passing -AppleLanguages (ksh-Latn_DE) as a lauch argument will show the Kölsch localization. I have added a "Start in ksh-Latn_DE" shared Scheme.

An attempt to localize into ksh-Latn_DE

This project is an attempt to localize an iOS App into "Colonian (Latin, Germany)", otherwise known as "Kölsch".

I have manually added a ksh-Latn_DE.lproj folder with a Main.strings file, and edited the project.pbxproj file to incude it. It seems to be working, Xcode obviously regognizes it, and the built project contains the ksh-Latn_DE.lproj Folder alt File "Main.strings Colonian (Latin, Germany)"" in Xcode Project Navigator" alt "Colonian (Latin, Germany) listed in Project Localizations"

Steps To Reproduce

  1. Set the iPhone's Language to "Kölsch". The list of languages should now be:

    • Kölsch
    • Deutsch (iPhone Sprache)
    • Englisch
  2. Build and run this App

Expected Result

The text in the center says "Lebenslang Köln-Kalk Verbot!"

Actual Result

The text in the center says "You've lost your LA privileges"

Notes

While the current NSLocale localeIdentifer is ksh-Latn_DE, the first preferred Localization is en. This appears to be causing other apps trouble as well.

lost-in-translation's People

Contributors

below avatar

Stargazers

 avatar Thomas Brühl avatar Brian Croom avatar Boris Bügling avatar

Watchers

 avatar James Cloos avatar  avatar

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.