Permalink
Browse files

Added new localisation system

  • Loading branch information...
1 parent c4efed2 commit 9cd66e52b1e35cb337fedcb8689ee2cb38ba3232 @nicklockwood committed Oct 6, 2012
Showing with 389 additions and 62 deletions.
  1. 0 Examples/Mac Demo/{English.lproj → }/MainMenu.xib
  2. 0 Examples/Mac Demo/{English.lproj → de.lproj}/InfoPlist.strings
  3. +7 −0 Examples/Mac Demo/de.lproj/Localizable.strings
  4. +2 −0 Examples/Mac Demo/en.lproj/InfoPlist.strings
  5. +7 −0 Examples/Mac Demo/en.lproj/Localizable.strings
  6. +2 −0 Examples/Mac Demo/es.lproj/InfoPlist.strings
  7. +7 −0 Examples/Mac Demo/es.lproj/Localizable.strings
  8. +2 −0 Examples/Mac Demo/fr.lproj/InfoPlist.strings
  9. +7 −0 Examples/Mac Demo/fr.lproj/Localizable.strings
  10. +2 −0 Examples/Mac Demo/he.lproj/InfoPlist.strings
  11. +7 −0 Examples/Mac Demo/he.lproj/Localizable.strings
  12. +81 −11 Examples/Mac Demo/iRateMac.xcodeproj/project.pbxproj
  13. +2 −0 Examples/Mac Demo/it.lproj/InfoPlist.strings
  14. +7 −0 Examples/Mac Demo/it.lproj/Localizable.strings
  15. +2 −0 Examples/Mac Demo/ja.lproj/InfoPlist.strings
  16. +7 −0 Examples/Mac Demo/ja.lproj/Localizable.strings
  17. +2 −0 Examples/Mac Demo/ko.lproj/InfoPlist.strings
  18. +7 −0 Examples/Mac Demo/ko.lproj/Localizable.strings
  19. +2 −0 Examples/Mac Demo/pl.lproj/InfoPlist.strings
  20. +7 −0 Examples/Mac Demo/pl.lproj/Localizable.strings
  21. +2 −0 Examples/Mac Demo/pt.lproj/InfoPlist.strings
  22. +7 −0 Examples/Mac Demo/pt.lproj/Localizable.strings
  23. +2 −0 Examples/Mac Demo/ru.lproj/InfoPlist.strings
  24. +7 −0 Examples/Mac Demo/ru.lproj/Localizable.strings
  25. +2 −0 Examples/Mac Demo/tr.lproj/InfoPlist.strings
  26. +7 −0 Examples/Mac Demo/tr.lproj/Localizable.strings
  27. +2 −0 Examples/Mac Demo/zh-Hans.lproj/InfoPlist.strings
  28. +7 −0 Examples/Mac Demo/zh-Hans.lproj/Localizable.strings
  29. +2 −0 Examples/Mac Demo/zh-Hant.lproj/InfoPlist.strings
  30. +7 −0 Examples/Mac Demo/zh-Hant.lproj/Localizable.strings
  31. +7 −0 Examples/iPhone Demo/de.lproj/Localizable.strings
  32. +7 −0 Examples/iPhone Demo/en.lproj/Localizable.strings
  33. +7 −0 Examples/iPhone Demo/es.lproj/Localizable.strings
  34. +7 −0 Examples/iPhone Demo/fr.lproj/Localizable.strings
  35. +51 −0 Examples/iPhone Demo/iRate.xcodeproj/project.pbxproj
  36. +7 −0 Examples/iPhone Demo/it.lproj/Localizable.strings
  37. +7 −0 Examples/iPhone Demo/ja.lproj/Localizable.strings
  38. +7 −0 Examples/iPhone Demo/ko.lproj/Localizable.strings
  39. +7 −0 Examples/iPhone Demo/pl.lproj/Localizable.strings
  40. +7 −0 Examples/iPhone Demo/pt.lproj/Localizable.strings
  41. +7 −0 Examples/iPhone Demo/ru.lproj/Localizable.strings
  42. +7 −0 Examples/iPhone Demo/tr.lproj/Localizable.strings
  43. +7 −0 Examples/iPhone Demo/zh-Hans.lproj/Localizable.strings
  44. +7 −0 Examples/iPhone Demo/zh-Hant.lproj/Localizable.strings
  45. +1 −1 LICENCE.md
  46. +16 −10 README.md
  47. +3 −0 RELEASE NOTES.md
  48. BIN iRate/iRate.bundle/de.lproj/Localizable.strings
  49. BIN iRate/iRate.bundle/en.lproj/Localizable.strings
  50. BIN iRate/iRate.bundle/es.lproj/Localizable.strings
  51. BIN iRate/iRate.bundle/fr.lproj/Localizable.strings
  52. BIN iRate/iRate.bundle/he.lproj/Localizable.strings
  53. BIN iRate/iRate.bundle/it.lproj/Localizable.strings
  54. BIN iRate/iRate.bundle/ja.lproj/Localizable.strings
  55. BIN iRate/iRate.bundle/ko.lproj/Localizable.strings
  56. BIN iRate/iRate.bundle/pl.lproj/Localizable.strings
  57. BIN iRate/iRate.bundle/pt.lproj/Localizable.strings
  58. BIN iRate/iRate.bundle/ru.lproj/Localizable.strings
  59. BIN iRate/iRate.bundle/tr.lproj/Localizable.strings
  60. BIN iRate/iRate.bundle/zh-Hans.lproj/Localizable.strings
  61. BIN iRate/iRate.bundle/zh-Hant.lproj/Localizable.strings
  62. +10 −1 iRate/iRate.h
  63. +12 −39 iRate/iRate.m
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -7,8 +7,9 @@
objects = {
/* Begin PBXBuildFile section */
+ 0147E8D0162088000083DB60 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0147E8CF162088000083DB60 /* MainMenu.xib */; };
+ 0195151D16207B6E001082C5 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0195151F16207B6E001082C5 /* Localizable.strings */; };
01E8811E15169DDB00BFF881 /* iRate.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 01E8811D15169DDB00BFF881 /* iRate.bundle */; };
- 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; };
256AC3DA0F4B6AC300CF3369 /* iRateMacAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 256AC3D90F4B6AC300CF3369 /* iRateMacAppDelegate.m */; };
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
@@ -17,11 +18,38 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ 0147E8CA16207C440083DB60 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 0147E8CF162088000083DB60 /* MainMenu.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = "<group>"; };
+ 0195151E16207B6E001082C5 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152016207B70001082C5 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152116207B75001082C5 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152216207B75001082C5 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152316207B76001082C5 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152416207B76001082C5 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152516207B77001082C5 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = "<group>"; };
+ 0195152616207B78001082C5 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152716207B78001082C5 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
+ 0195152816207B78001082C5 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152916207B79001082C5 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152A16207B79001082C5 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152B16207B7B001082C5 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 0195152C16207B7B001082C5 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 01AF0AC81620778C000298FF /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0ACA16207791000298FF /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0ACC16207796000298FF /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0ACE162077A0000298FF /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0AD0162077A5000298FF /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0AD2162077AF000298FF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
+ 01AF0AD4162077B7000298FF /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0AD6162077BB000298FF /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
+ 01AF0AD8162077C7000298FF /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0ADA162077D5000298FF /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0ADC162077D9000298FF /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0ADE162077E2000298FF /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 01AF0AE216207880000298FF /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
01E8811D15169DDB00BFF881 /* iRate.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = iRate.bundle; sourceTree = "<group>"; };
- 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
- 1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
256AC3D80F4B6AC300CF3369 /* iRateMacAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iRateMacAppDelegate.h; sourceTree = "<group>"; };
256AC3D90F4B6AC300CF3369 /* iRateMacAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = iRateMacAppDelegate.m; sourceTree = "<group>"; };
256AC3F00F4B6AF500CF3369 /* iRateMac_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iRateMac_Prefix.pch; sourceTree = "<group>"; };
@@ -106,9 +134,10 @@
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
+ 0147E8CF162088000083DB60 /* MainMenu.xib */,
8D1107310486CEB800E47090 /* iRateMac-Info.plist */,
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
- 1DDD58140DA1D0A300B32029 /* MainMenu.xib */,
+ 0195151F16207B6E001082C5 /* Localizable.strings */,
);
name = Resources;
sourceTree = "<group>";
@@ -171,6 +200,20 @@
Japanese,
French,
German,
+ de,
+ fr,
+ it,
+ tr,
+ ko,
+ "zh-Hant",
+ ru,
+ "zh-Hans",
+ pt,
+ ja,
+ es,
+ he,
+ "pl-PL",
+ pl,
);
mainGroup = 29B97314FDCFA39411CA2CEA /* iRateMac */;
projectDirPath = "";
@@ -187,8 +230,9 @@
buildActionMask = 2147483647;
files = (
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
- 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */,
01E8811E15169DDB00BFF881 /* iRate.bundle in Resources */,
+ 0195151D16207B6E001082C5 /* Localizable.strings in Resources */,
+ 0147E8D0162088000083DB60 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -208,20 +252,46 @@
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
- 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
+ 0195151F16207B6E001082C5 /* Localizable.strings */ = {
isa = PBXVariantGroup;
children = (
- 089C165DFE840E0CC02AAC07 /* English */,
+ 0195151E16207B6E001082C5 /* en */,
+ 0195152016207B70001082C5 /* de */,
+ 0195152116207B75001082C5 /* fr */,
+ 0195152216207B75001082C5 /* it */,
+ 0195152316207B76001082C5 /* tr */,
+ 0195152416207B76001082C5 /* ko */,
+ 0195152516207B77001082C5 /* zh-Hant */,
+ 0195152616207B78001082C5 /* ru */,
+ 0195152716207B78001082C5 /* zh-Hans */,
+ 0195152816207B78001082C5 /* pt */,
+ 0195152916207B79001082C5 /* ja */,
+ 0195152A16207B79001082C5 /* es */,
+ 0195152B16207B7B001082C5 /* he */,
+ 0195152C16207B7B001082C5 /* pl */,
);
- name = InfoPlist.strings;
+ name = Localizable.strings;
sourceTree = "<group>";
};
- 1DDD58140DA1D0A300B32029 /* MainMenu.xib */ = {
+ 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
- 1DDD58150DA1D0A300B32029 /* English */,
+ 01AF0AC81620778C000298FF /* de */,
+ 01AF0ACA16207791000298FF /* fr */,
+ 01AF0ACC16207796000298FF /* it */,
+ 01AF0ACE162077A0000298FF /* tr */,
+ 01AF0AD0162077A5000298FF /* ko */,
+ 01AF0AD2162077AF000298FF /* zh-Hant */,
+ 01AF0AD4162077B7000298FF /* ru */,
+ 01AF0AD6162077BB000298FF /* zh-Hans */,
+ 01AF0AD8162077C7000298FF /* pt */,
+ 01AF0ADA162077D5000298FF /* ja */,
+ 01AF0ADC162077D9000298FF /* es */,
+ 01AF0ADE162077E2000298FF /* he */,
+ 01AF0AE216207880000298FF /* pl */,
+ 0147E8CA16207C440083DB60 /* en */,
);
- name = MainMenu.xib;
+ name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRateMac
+
+ Created by Nick Lockwood on 06/10/2012.
+
+*/
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRate
+
+ Created by Nick Lockwood on 03/10/2012.
+
+*/
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRate
+
+ Created by Nick Lockwood on 03/10/2012.
+
+*/
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRate
+
+ Created by Nick Lockwood on 03/10/2012.
+
+*/
@@ -0,0 +1,7 @@
+/*
+ Localizable.strings
+ iRate
+
+ Created by Nick Lockwood on 03/10/2012.
+
+*/
Oops, something went wrong.

0 comments on commit 9cd66e5

Please sign in to comment.