Last active
July 10, 2017 13:13
-
-
Save migueltg/33bdc4b75925bdef009bc073304f11a8 to your computer and use it in GitHub Desktop.
Function for get locales from .strings in Xcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func localized(_ string: String) -> String { | |
return NSLocalizedString(string, comment: "") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment