Adding languages to Xcode (beginner)

Discussion in 'Mac Programming' started by rien333, Sep 8, 2010.

  1. macrumors regular

    Joined:
    Jun 29, 2010
    Location:
    The Netherlands
    #1
    At first I want to apologize for any of my incorrect English and maybe for being a noob. ;)
    I'm new to the macrumors forums and I hope someone can help me. :)
    I started learning and working with Xcode 2.5 months ago, and also with (Objective) C. (It isn't going very fast because I'm still 14) A few days ago I came across one problem which I couldn't fix by myself and neither Google could (At least in my search results).
    But before I go to much in detail, I will ask my question: How do you add languages (like French, German or in my example Dutch) to your Xcode project? I know it has to be something like "dutch.Iproj" but I can't figure out how do it. I hope someone can help me! :)
     
  2. macrumors 603

    MorphingDragon

    Joined:
    Mar 27, 2009
    Location:
    The World Inbetween
    #2
    The correct convention is to make a "strings" file.

    http://www.stone.com/The_Cocoa_Files/Internationalize_Your_App.html
     
  3. macrumors 603

    Joined:
    Aug 9, 2009
    #3
    If you googled for terms like "dutch.Iproj", then that's one of the problems. The extension of the localized language element is ".lproj", that's lower-case-L, not capital-I.

    For example, I found a lot of useful reference docs by searching for:
    xcode Lproj site:developer.apple.com
     
  4. thread starter macrumors regular

    Joined:
    Jun 29, 2010
    Location:
    The Netherlands
    #4
    Thanks for all the help, I've been able to add languages to my Xcode project. :)

    @chown33
    Think I need glasses... :p
     
  5. macrumors 6502a

    Joined:
    Dec 2, 2008
    #5
    Good luck

    Good luck, stop back with any questions!
     

Share This Page