b123400 / xliffie

A localization assistance for iOS / Mac app.
https://itunes.apple.com/us/app/xliffie/id961651406
GNU General Public License v3.0
65 stars 16 forks source link

Support .xcloc format #5

Closed b123400 closed 5 years ago

b123400 commented 5 years ago

Xliffie should support Xcode's localisation format.

The old version of Xcode outputs .xliff files by their locale name in the same directory, something like /MyApp/de.xliff /MyApp/ja.xliff.

To support this folder structure, Xliffie has the following behaviours:

  1. You can open the outer directory (/MyApp in the above example), instead of just individual files. All the .xliff files inside the folder (recursively) will be opened.
  2. It associates multiple .xliff files into a single window if they are in the same directory
    • This allows user to "translate between target languages". For example:
      • /MyApp/de.xliff is en -> de
      • /MyApp/ja.xliff is en -> ja.
      • The translator can edit the files with de -> ja or ja -> de.

Combining both behaviours, you can expect when you open a folder with Xliffie, all the .xliff will be opened within a single window, and the translations are associated.


In the new version of Xcode, the output folder structure is changed: desktop 2018-12-29 16-36-03

This issue is about: