Skip to content

viettrungphan/LocalizableStrings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalizableStrings

Support multiple *.strings files in XCode project.

Screenshot 2022-08-20 at 21 26 24

Using swift script to merge sub *.strings file into Localizable.strings.

How to use:

Create your XCode project Copy scripts folder to your main project folder or modify script to point to script folder. Create main Localizable.strings file. Edit scheme Preaction and add sh command: Screenshot 2022-08-20 at 21 24 51

${PROJECT_DIR}/scripts/generateLocalizableFile.sh ${PROJECT_DIR}

Press cmd + B to trigger prebuild.

Switch to "Report Navigator" (cmd + 9) tab and select Top "Build" to see the output. Screenshot 2022-08-20 at 21 31 20

About

Support multiple localizable file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published