MacRabbit

Localizable.strings

Your Localizable.strings file(s) allow you to easily translate your Sugar’s user-visible strings.

Localizable.strings files live inside of *.lproj folders in the root-level Resources folder of your Sugar. For instance, your English strings will live here:

MySugar.sugar/Contents/Resources/English.lproj/Localizable.strings 

Syntax

Localizable.strings files are plain text files that use the following syntax:

"localizable.id.key" "Localized string";
"another.localizable.id.key" "Another string"

Most commonly, you will be localizing the titles for your ActionXML files. In this instance, if you have an action with the ID “com.mydomain.mysugar.text-actions.action-name” then you would have the following entry in your Localizable.strings file:

"com.mydomain.mysugar.text-actions.action-name.title" "My Custom Action"

If you are localizing a different element, you will append something other than “title” to the action ID.