Xliff Tool For Xcode, short for Xliff Tool, is a translation tool for developers. It supports version 1.2 .xliff files that are used by Xcode. If you installed Xcode 13, .xliff files are contained in .xcloc packages.
Before Xcode 13, .xcloc files in Finder were shown as directories.
- In Xcode, Export Localizations
- In Xliff Tool, Open Files
- Choose Project
- Translate
- Audit
- Save
- In Xcode, Import Localizations
Choose "New Project" if it is a new project. Or choose the exist one that it was last used. If you want to create another version, you can choose "New Project" again.
Different colors mean differences.
- Blue for Source
- Dark Green for Target(Unaudited)
- Light Green for Target(Audited)
To audit is to double check the translation. Whenever the Target is changed, it becomes unaudited. You must click verify button to pass the audit.
When you close the project or the app, the project will save automatically. You can save manually at any time.
You can create multiple projects from one project.
Each time you open a project, Xliff Tool create a backup for it. The amount of backups is up to latest 5. You can use File-> Open Database Directory to open the directory in Finder. Those .realm files in backups folder are backups, you can copy them out and rename and restore data.
Xliff Tool will replace Targets that are duplicated while you translate one of them. Then you can audit the rest so you don't need to input again.
You can use cmd+enter to finish audit.
Using index and search, you can find source and target quickly. You can search by Source/Target/Notes, with/without case.
When developing Xliff Tool, I found some issues are related to XMLCoder, MaxDesiatov helps me a lot by adding new features that I needed to XMLCoder.
The icon of this app is from below.
Icons made by Freepik from www.flaticon.com
Xliff Tool's license is MIT, except for the icon. As the icon is from the website above mentioned.
You will need macOS 11 or later to install Xliff Tool.
You can added issues by Github Issues. Or you can send mail to [email protected].