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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:46:22+00:00 2026-05-26T04:46:22+00:00

I am looking for a way of extracting all localizable strings from .xib files

  • 0

I am looking for a way of extracting all localizable strings from .xib files and have all of them saved in a single file.

Probably this involves ibtool but I was not able to determine a way of merging all these in only one translation dictionary (could be .strings, .plist or something else).

  • 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-26T04:46:23+00:00Added an answer on May 26, 2026 at 4:46 am

    Open terminal and cd to the root directory of the project (or directory where you store all XIB files) and type in this command:

    find . -name \*.xib | xargs -t -I '{}' ibtool --generate-strings-file '{}'.txt '{}'
    

    The magic is the find and xargs commands working together. -I option generates placeholder. -t is just for verbose output (you see what commands has been generated and executed).
    It generates txts files with the same name as xib files in the same directory.
    This command can be improved to concatenate output into one file but still is a good starting point.

    Joining them together:

    You can concatenate those freshly created files into one using similar terminal command:

    find . -name \*.xib.txt | xargs -t -I '{}' cat '{}' > ./xib-strings-concatenated.txt
    

    This command will put all strings into one file xib-strings-concatenated.txt in root directory.

    You can delete generated partial files (if you want) using find and xargs again:

    find . -name \*.xib.txt | xargs -t -I '{}' rm -f '{}'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to access files within a zip file without extracting
I am looking for the best way of extracting a 2D sub-matrix from a
what is the best way of extracting multiple (~40 values) from a text file
I'm looking into extracting all the content from a DTD using Perl, but I'm
Looking for a better way of extracting a number from the last line in
I am looking for a way to extract / scrape data from Word files
I am looking for a reliable way of extracting text given the web address,
Looking for a way to get path of file (and then process it in
While dealing with JSON returned from YQL, I found myself looking for a way
I have an array named 'names' with strings looking like this: [name_23_something, name_25_something, name_2_something];

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.