Specify Export/Import for Localization file path

Whenever i "Export for Localization", the generated .xliff contains files in differents paths, for example:



1) ProjectName/Storyboards/Base.lproj/Main.storyboard

2) ProjectName/Views/Base.lproj/View.xib

3) ProjectName/INFOPLIST_PATH/Localizable.strings



Is there a way to keep all the localization files in an specific location? Is there anyway to specify to the "Export for Localization" command a specific path?

Replies

>Is there a way to keep all the localization files in an specific location?


Not sure there is, at least w/just Xcode. Confirm your process w/this document (and maybe it has some tips):


https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/MaintaingYourOwnStringsFiles/MaintaingYourOwnStringsFiles.html

I’m not entirely sure what you’re asking for here. You’ve given an example of what you currently get. Please post an example of what you’d like to get.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thanks Eskimo!


My ideal output would be


1) ProjectName/SPECIFIED_PATH//Main.strings

2) ProjectName/SPECIFIED_PATH/View.string

3) ProjectName/SPECIFIED_PATH/Localizable.strings


Where SPECIFIED_PATH is a path that i could provide; as a result, all my imported .string files will stay in the same directory.