Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6569277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:36:24+00:00 2026-05-25T14:36:24+00:00

i was reading the doc about localization and internationalization , but it’s not really

  • 0

i was reading the doc about localization and internationalization , but it’s not really clear for me : can you explain me the link between the .lproj files, and/or the Localizable.strings file (if those are connected) ?

Or by any chance, if you know where i could see/download an example of an app using localized text?

I’ve seen the Localizable.strings file with the sample code ‘NavBar’ (from the doc), but nothing yet about a sample code using .lproj files.

Thanks for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:36:24+00:00Added an answer on May 25, 2026 at 2:36 pm

    It’s very simple: create a folder for each localization, with the localization name followed by “.lproj”, there you put any localizable file (you can also localize images) and your Localizable.strings (which contains the text returned by the obj-c API for localization). Don’t forget to add the files in your resources, in Xcode.

    For exemple, if you have 3 localizations, you could have this structure:

    PROJECT_DIR/
        - en.lproj/
            Localizable.strings
        - it.lproj/
            Localizable.strings
        - pt.lproj/
            Localizable.strings
    

    en.lproj/Localizable.strings have the english strings, and so on. Add the three Localizable.strings on your Xcode (it will be smart enough to group then) and it’s done.

    To use the localized strings just call NSLocalizedString(NSString *key, NSString *comment), it will automatically look for the key in your Localizable.strings file for the current locale and return the value associated with the key. For more information about NSLocalizedString see NSLocalizedString.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been reading over the perl doc, but I can't quite get my head
I've been reading up more about views in MySQL (not being my strongpoint), but
I was reading the Mozilla Doc about Firefox Addon Storage and it says: Storage
My code is too slow, but I'm not sure how to improve it. Reading
I am reading the PCRE doc, and it refers to possessive quantifiers , but
I was reading the following: http://modules.apache.org/doc/API.html Please explain how Apache knows the name of
Currently I'm playing with faceted search after reading RavenDB doc about it. The result
I'm reading Apple doc but I don't understand what a root controller is. The
Drakon editor seems nice http://java.dzone.com/announcements/drakon-editor-19-support-java but after reading the doc http://drakon-editor.sourceforge.net/csharp.pdf I still don't
I was just reading a little bit on them from http://www.cplusplus.com/doc/tutorial/namespaces/ and it seems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.