ios端本地化
This commit is contained in:
parent
625e2b7934
commit
16b42a19e4
@ -35,7 +35,7 @@ namespace Assets
|
|||||||
string src = Path.Combine(localizedDirectoryPath, locale + ".lproj");
|
string src = Path.Combine(localizedDirectoryPath, locale + ".lproj");
|
||||||
DirectoryCopy(src, Path.Combine(projectPath, "Unity-iPhone/" + locale + ".lproj"));
|
DirectoryCopy(src, Path.Combine(projectPath, "Unity-iPhone/" + locale + ".lproj"));
|
||||||
|
|
||||||
string fileRelatvePath = string.Format("Unity-iPhone/{0}.lproj/Localizable.strings", locale);
|
string fileRelatvePath = string.Format("Unity-iPhone/{0}.lproj/InfoPlist.strings", locale);
|
||||||
proj.AddLocalization("Localizable.strings", locale, fileRelatvePath);
|
proj.AddLocalization("Localizable.strings", locale, fileRelatvePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user