Skip to content

Instantly share code, notes, and snippets.

@maerzbow
Created July 21, 2015 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maerzbow/3b1914dc3374721399cf to your computer and use it in GitHub Desktop.
Save maerzbow/3b1914dc3374721399cf to your computer and use it in GitHub Desktop.
// this comment will be parsed as header comment
"In a typical strings file the key is the text of the target language"="the value holds the translated text";
// an alternative is to use generic keys
"page.main.title"="Titel der Hauptseite";
/* comments in .strings files
can be multi line,
single line */
// or combination of the two
"hello_user" = "Hello %1$s";
// keys and values can be spread to multiple lines
"welcome.message" = "Welcome back,
we have missed you";
// comments belong to the next key value pair
"visit.count" = "this is your %1$d visit to our site";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment