Smoother iOS app localization
If you are an iOS developer looking to localize your app for different languages, you know that the process can be tedious and time-consuming. Manually translating strings, managing multiple language files, and keeping everything in sync can be a daunting task. But with Folder Hub, the localization process becomes simpler and more efficient. In this article, we will walk you through the step-by-step process of using Folder Hub to localize your iOS app.
What is Folder Hub?
Folder Hub is a developer tool powered by GPT4 that makes app localization a breeze. It seamlessly integrates with your development environment, whether you are using Xcode, Android Studio, Visual Studio Code, or any other IDE. With just a few clicks, you can translate and manage the localization of your app across multiple languages.
Step 1: Setting Up Folder Hub
Before we dive into the localization process, let's get Folder Hub set up on our development machine. Here's how:
Requirement:
- Download Folder Hub (opens in a new tab)
- Xcode15+
- macOS 14+
- Download sample project:i18n-ios-xcstrings (opens in a new tab)
Folder Hub supports macOS 11+, only the sample project requires Xcode15+ and macOS 14+
Step 2: Load key-value pairs from .xcstrings files
- Open Folder Hub
- Click the button in the lower left corner to add a project and select the Xcode tab.
- Enter the project name such as “I18n iOS”
- Select the workspace of this project, for example
/Users/xxx/Desktop/i18n/Demo/i18n-ios-xcstrings
- Select the .xcodeproj directory, for example
/Users/xxx/Desktop/i18n/Demo/i18n-ios-xcstrings/i18n-ios-xcstrings.xcodeproj
At this time, Folder Hub will load and display the .xcstrings file in the project.
Step 3: Translatation
Click the language selection button at the top of Folder Hub to select the source language of the project. When translating, you need to translate it into other languages. The default is English.
Please ensure that the source language has data available for translation.
1.Translate Value
Translate individual key-value pairs
2.Translate Key
Click the button in the upper right corner to switch to GPT4.Then translate entire row of key-value pairs
Batch translation must use GPT4, which is only available to subscribed users.
3.Translate Language
Translate into a language
4.Translate All
Click the Translate button at the top to translate the source language to all target languages.
Return to Xcode to view, you can see that all translation content has been echoed to Xcode.
Step 4: Managing Localization
1.Add/remove languages
1.Click the button in the upper right corner 2.Language:Click to check/uncheck to add/remove languages
2.Delete key-value pairs
Select a row and delete to delete the key-value pair of the entire row. Multiple select rows, delete can delete multiple key-value pairs.
3.Search
cmd + f to search data
Conclusion
Folder Hub simplifies and streamlines the iOS app localization process. With its powerful translation capabilities, seamless IDE integration, and intuitive interface, it becomes the go-to tool for developers looking to localize their apps efficiently. By following the step-by-step guide outlined in this article, you can easily localize your iOS app and reach a global audience. So why not give Folder Hub a try and fast-track your app localization process today?