Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

SimpleTranslationTools

Collection of tools to easily find strings to translate in Objective-C source code.

find_raw_string_literals.rb

Ruby script that will (or at least should) find string literals in Objective-C source code and print an Xcode-compatible log line to remind you to translate it.

Screenshot

SYTranslation.h

Macros to replace you string literals and describe them either as to be translated or as constants

#define $(text)  NSLocalizedString(@text, @text)
#define $$(text) @text

// This string will be translated at runtime
NSString *text = $("Hello");

// This string will stay the same
NSString *key = $$("some_key");

About

Collection of tools to easily find strings to translate in Objective-C source code

Resources

Releases

No releases published
You can’t perform that action at this time.