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

  • SEARCH
  • Home
  • 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 8028463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:08:35+00:00 2026-06-05T00:08:35+00:00

I have to develop the application into Four(4) languages (English, French, Italic, Spanish). So,

  • 0

I have to develop the application into Four(4) languages (English, French, Italic, Spanish).

So, for that I want to know is there any way to display different language data using only one(1) .xib file in the top bar.

Example:

I have the Setting.xib (.xib file) in
which there are four labels in the
view part and in the top bar of that
Nib file I want to change the label
names according to the set language
using One & Only one Nib file.

So, please give me the appropriate solution.

Which will take less time for the loading.

  • 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-06-05T00:08:37+00:00Added an answer on June 5, 2026 at 12:08 am

    First of all, I don’t understand why you can’t simply use NSLocalizedString when setting the label text, it does exactly what you want, loading the appropriate version of the text, according to the device’s language.

    Anyway, I think you could find something useful here.

    I actually did something similar, with six languages and only a single Nib but in my case I could have had the language changed inside the app, so I needed to be able to forcefully tell it to load me the localized version of a string from the specific bundle.

    Here’s the exact code that should help you in case your problem is more like mine and a simple NSLocalizedString is not enough:

    NSString* path= [[NSBundle mainBundle] pathForResource:[[[NSUserDefaults standardUserDefaults] objectForKey:@"AppleLanguages"] objectAtIndex:0] ofType:@"lproj"];
    
    NSBundle* languageBundle = [NSBundle bundleWithPath:path];
    
    someLabel.text = [languageBundle localizedStringForKey:@"textKey" value:@"" table:nil];
    

    Since you will probably have more than one label, it would be a good idea to have the path stored as a class property and set in viewDidLoad, so you will be able to access it from any method/function inside that class.

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

Sidebar

Related Questions

I have to develop an application that display some information about the possessor of
Situation is you have to develop an application against an Active Directory Tree. Want
I have been tasked to develop an application for my school that should be
I have to develop a Java ME (formerly known as J2ME) application that will
I have develop a small web application in asp.net (c#) for uploading files into
Hi I want to develop financial application i have taken total salary and amount
I am using Java to develop an application and I have a library that
I have to develop a CRUD application, that will be coded in php. I
I have a requirement where I want to develop a hybrid application and list
i want to develop a windows application in c++ that could be draw multiple

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.