Skip to content
Permalink
Browse files

[Localization] Added Italian

  • Loading branch information
xen2 committed Sep 23, 2019
1 parent 8c97d5d commit c70f07f449c7e4020a92f16c81f161ea7af7a4b5
@@ -14,5 +14,6 @@ public enum SupportedLanguage
Spanish,
[Display("Chinese (Simplified)")]
ChineseSimplified,
Italian,
}
}
@@ -398,6 +398,9 @@ private static void InitializeLanguageSettings()
case SupportedLanguage.ChineseSimplified:
TranslationManager.Instance.CurrentLanguage = new CultureInfo("zh-Hans");
break;
case SupportedLanguage.Italian:
TranslationManager.Instance.CurrentLanguage = new CultureInfo("it-IT");
break;
default:
throw new ArgumentOutOfRangeException();
}
@@ -19,7 +19,7 @@ rem Xenko.GameStudio.pot

rem Update po files
FOR %%B IN (Xenko.Core.Presentation Xenko.Assets.Presentation Xenko.Core.Assets.Editor Xenko.GameStudio) DO (
FOR %%A IN (ja fr es de ru zh_HANS-CN) DO (
FOR %%A IN (ja fr es de ru zh_HANS-CN it) DO (
%MSGMERGE% -U %%A\%%B.%%A.po %%B.pot
)
)
@@ -177,7 +177,7 @@
<Target Name="XenkoGenerateLocalizationSatelliteDlls" BeforeTargets="SatelliteDllsProjectOutputGroup" Returns="@(SatelliteDllsProjectOutputGroupOutput)" Condition="'$(XenkoLocalized)' == 'true' And '$(Configuration)' == 'Release'">
<ItemGroup>
<!-- Current list of languages to try to generate -->
<XenkoTraductions Include="fr;ja;es;de;ru"/>
<XenkoTraductions Include="fr;ja;es;de;ru;it"/>
<XenkoTraductions Include="zh-Hans">
<Source>zh_HANS-CN</Source>
</XenkoTraductions>

0 comments on commit c70f07f

Please sign in to comment.
You can’t perform that action at this time.