Export...">

Export multiple lines for localization

I defined multiple lines using the format . stringsdict as indicated here .

I use Xcode's "Editor> Export for Localization .." to create XLIFF files suitable for translators and translation software, but the lines defined in Localizable.stringsdict are not exported to the XLIFF file.

How can I export these multiple forms to XLIFF format - translate them and import them back into the project?

I know that XLIFF does not have its own multiple markup, but the format is extensible , so I do not understand why this will not be possible.

+5
source share
1 answer

Xcode automatically exports stringsdict (plural) strings only starting with Xcode 9. I know, I know. Although stringsdict has been a way to make plurals on iOS and Mac for several years, Apple only half-supported it before Xcode 9. Now you can also view stringsdict files in a format that makes them easier to read, including patterns, you can add plurals with a few clicks . Xcode 9 and above can also view XLIFF files in table format. Double-click on XLIFF in Xcode to see. Before you just get the source XML.

See here: https://www.ibabbleon.com/copywriter-translator/2017/06/whats-new-in-localization-in-xcode-9-ios-11/

0
source

Source: https://habr.com/ru/post/1210767/


All Articles