localization_generator
-
Add
LocalizationGenerator.sh
to your project'sSupporting Files
-
Add a
Run Script
inBuild Phases
, copy next script"${SRCROOT}/${PRODUCT_NAME}/LocalizationGenerator.sh"
-
build project
-
script will create
[ProjectName]String.h
and[ProjectName]String.m
in your project folder
You must name your .string
file as [ProjectName]Localization.string