Implement plugin i18n [WIP]

This commit is contained in:
qianlifeng
2015-01-06 18:28:23 +08:00
parent 5e0821417e
commit ce9c832e00
11 changed files with 252 additions and 163 deletions

View File

@@ -11,6 +11,15 @@ namespace Wox.Core.i18n
string GetTranslation(string key);
/// <summary>
/// Get language file for current user selected language
/// if couldn't find the current selected language file, it will first try to load en.xaml
/// if en.xaml couldn't find, it will pick up first *.xaml file
/// </summary>
/// <param name="folder"></param>
/// <returns></returns>
string GetLanguageFile(string folder);
void ChangeLanguage(Language language);
void ChangeLanguage(string languageCode);