Skip to content

Instantly share code, notes, and snippets.

@tiagomartinho
Created December 11, 2018 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagomartinho/b5509fe3c81aaa2add9a909a2a387dc8 to your computer and use it in GitHub Desktop.
Save tiagomartinho/b5509fe3c81aaa2add9a909a2a387dc8 to your computer and use it in GitHub Desktop.
rm -rf localizations/
mkdir localizations/
mkdir localizations/uikit
mkdir localizations/core
mkdir localizations/appkit
xcodebuild -exportLocalizations -project TVStreams.xcodeproj/ -localizationPath ./localizations/uikit -exportLanguage en
xcodebuild -exportLocalizations -project TVStreamsCore/TVStreamsCore.xcodeproj/ -localizationPath ./localizations/core -exportLanguage en
xcodebuild -exportLocalizations -project TVStreamsOSX/TVStreamsOSX.xcodeproj/ -localizationPath ./localizations/appkit -exportLanguage en
cp ./localizations/core/en.xcloc/Localized\ Contents/en.xliff ./localizations/core/en.xliff
cp ./localizations/uikit/en.xcloc/Localized\ Contents/en.xliff ./localizations/uikit/en.xliff
cp ./localizations/appkit/en.xcloc/Localized\ Contents/en.xliff ./localizations/appkit/en.xliff
rm -rf ./localizations/core/en.xcloc
rm -rf ./localizations/uikit/en.xcloc
rm -rf ./localizations/appkit/en.xcloc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment