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 907007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:28:49+00:00 2026-05-15T16:28:49+00:00

I have a tab bar app that has to display in different languages depending

  • 0

I have a tab bar app that has to display in different languages depending on a user’s preference but I can’t find much info on how to change the tab names at run-time. I need the tabs to show the correct names at startup, not when the tabs are accessed.

Best info I could find was running

self.tabBarController.selectedIndex = 1;
tabBarController.selectedViewController.tabBarItem.title = @"Tab Name";

from the app delegate but this first makes the tab active & then sets the name.

Is there not a better way to set tab names at run-time? Ideally I’d like to set them all in one go.

  • 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-15T16:28:50+00:00Added an answer on May 15, 2026 at 4:28 pm

    The 2 responses didn’t work for me, I eventually did it like this:

    // Create temp strings to hold tab names
    NSString *tab0Name;
    NSString *tab1Name;
    NSString *tab2Name;
    NSString *tab3Name;
    NSString *tab4Name;
    
    // Set strings according to language
    if ([UIAppDelegate.iStegAppLanguage isEqualToString:@"FR"])
    {
        tab0Name = @"Accueil";
        tab1Name = @"Produits";
        tab2Name = @"Caisse";
        tab3Name = @"Branches";
        tab4Name = @"Plus";
    }
    else if ([UIAppDelegate.iStegAppLanguage isEqualToString:@"IT"])
    {
        tab0Name = @"Home";
        tab1Name = @"Prodotti";
        tab2Name = @"Checkout";
        tab3Name = @"Filiali";
        tab4Name = @"More";
    }
    else if ([UIAppDelegate.iStegAppLanguage isEqualToString:@"EN"])
    {
        tab0Name = @"Home";
        tab1Name = @"Products";
        tab2Name = @"Checkout";
        tab3Name = @"Branches";
        tab4Name = @"More";
    }
    else    // Default to german unless specifically set to another language
    {
        tab0Name = @"Home";
        tab1Name = @"Produkte";
        tab2Name = @"Checkout";
        tab3Name = @"Filialen";
        tab4Name = @"Mehr";
    }
    
    // Set tab name
    self.tabBarController.selectedIndex = 1;
    tabBarController.selectedViewController.tabBarItem.title = tab1Name;
    self.tabBarController.selectedIndex = 2;
    tabBarController.selectedViewController.tabBarItem.title = tab2Name;
    self.tabBarController.selectedIndex = 3;
    tabBarController.selectedViewController.tabBarItem.title = tab3Name;
    self.tabBarController.selectedIndex = 4;
    tabBarController.selectedViewController.tabBarItem.title = tab4Name;
    self.tabBarController.selectedIndex = 0;
    tabBarController.selectedViewController.tabBarItem.title = tab0Name;    // Home last so it's shown first
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that has a tab bar & nav bar for normal
I have an app that has a tab bar, each tab contains a separate
I have an app, which has a top navigation bar and a bottom tab
I'm working on an iPhone app that has a UITabBar. Occasionally the tab bar
I have a tab bar app that works. Each tab is a UINavigationController whose
Modern browsers have multi-tab interface, but JavaScript function window.showModalDialog() creates a modal dialog that
I have a an app that has a UITabBarController . What I would like
I have an app that has a TableView, NavigationView and TabBar running together. There
Setup: Tab Bar App First View is a ScrollView which has an ImageView as
Sorry but I found no clear answer on that. I have an iphone app

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.