-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from WildAid/Localize_to_French
Localize to french
- Loading branch information
Showing
13 changed files
with
218 additions
and
259 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Localization files are in Localization/CODE.lproj/Localizable.strings | ||
e.g. | ||
Localization/es-419/Localizable.strings | ||
Localization/fr/Localizable.strings | ||
|
||
The format is: | ||
The string found in the code (English) | ||
= | ||
The string to localize to | ||
; | ||
|
||
e.g.: | ||
"Yes" = "Oui"; | ||
|
||
To see if a file has any non-translated items | ||
Run this to find all the strings that are the same on both sides of the equals sign: | ||
`cut -f1 -d\= Localizable.strings > first && cut -f2 -d\= Localizable.strings | sed 's/.$//' > last && diff -wy first last | grep -v \| && rm first last` | ||
|
||
This may give some false positives, e.g. in French, "Photo" and "Date" are the same in English and French. |
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
Oops, something went wrong.