Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
Fixed Polish translation loading
Browse files Browse the repository at this point in the history
The issue described in #10 was caused by
locale mismatch between demo app (PL) and library (pl-PL). Localization
works if both use pl-PL.
  • Loading branch information
ltomuta committed Dec 16, 2013
1 parent 8aacfed commit b90929c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<Language code="vi" />
<Language code="sv" />
<Language code="nb-NO" />
<Language code="pl-PL" />
</Languages>
<App xmlns="" ProductID="{bd80b8ce-23ae-4fd0-acf5-67499b079a7b}" Title="RateMyXamlAppWP8" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="RateMyXamlAppWP8 author" Description="Sample description" Publisher="RateMyXamlAppWP8" PublisherID="{2a0c9e2b-476b-4375-9e59-6a9e83f13ede}">
<IconPath IsRelative="true" IsResource="false">Assets\ApplicationIcon.png</IconPath>
Expand Down
4 changes: 2 additions & 2 deletions RateMyAppDemos/WP8/RateMyXamlAppWP8/RateMyXamlAppWP8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
<SilverlightApplication>true</SilverlightApplication>
<SupportedCultures>en-GB%3bde%3bro%3bsl-SI%3bzh-CN%3bar%3bhr-HR%3bnl%3bfi-FI%3bfr%3bhe%3bhu-HU%3bit%3blt-LT%3bpl%3bpt-BR%3bpt-PT%3bes%3bru%3buk-UA%3bvi%3bsv%3bnb-NO</SupportedCultures>
<SupportedCultures>en-GB%3bde%3bro%3bsl-SI%3bzh-CN%3bar%3bhr-HR%3bnl%3bfi-FI%3bfr%3bhe%3bhu-HU%3bit%3blt-LT%3bpt-BR%3bpt-PT%3bes%3bru%3buk-UA%3bvi%3bsv%3bnb-NO%3bpl-PL</SupportedCultures>
<XapOutputs>true</XapOutputs>
<GenerateSilverlightManifest>true</GenerateSilverlightManifest>
<XapFilename>RateMyXamlAppWP8_$(Configuration)_$(Platform).xap</XapFilename>
Expand Down Expand Up @@ -161,7 +161,7 @@
<EmbeddedResource Include="Resources\AppResources.lt-LT.resx" />
<EmbeddedResource Include="Resources\AppResources.nb-NO.resx" />
<EmbeddedResource Include="Resources\AppResources.nl.resx" />
<EmbeddedResource Include="Resources\AppResources.pl.resx" />
<EmbeddedResource Include="Resources\AppResources.pl-PL.resx" />
<EmbeddedResource Include="Resources\AppResources.pt-BR.resx" />
<EmbeddedResource Include="Resources\AppResources.pt-PT.resx" />
<EmbeddedResource Include="Resources\AppResources.resx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<comment>Controls the FlowDirection for all elements in the RootFrame. Set to the traditional direction of this resource file's language</comment>
</data>
<data name="ResourceLanguage" xml:space="preserve">
<value>pl</value>
<value>pl-PL</value>
<comment>Controls the Language and ensures that the font for all elements in the RootFrame aligns with the app's language. Set to the language code of this resource file's language.</comment>
</data>
<data name="ApplicationTitle" xml:space="preserve">
Expand All @@ -131,7 +131,7 @@
<data name="AppBarButtonText" xml:space="preserve">
<value>add</value>
</data>
<data name="AppBarMenuItemText" xml:space="preserve">
<data name="AppBarMenuItemResetText" xml:space="preserve">
<value>reset rating counter</value>
</data>
<data name="StartPageTitle" xml:space="preserve">
Expand All @@ -149,4 +149,31 @@
<data name="ApplicationName" xml:space="preserve">
<value>RateMyXamlAppWP8</value>
</data>
<data name="AboutPageTitle" xml:space="preserve">
<value>about page</value>
</data>
<data name="ContactInfo" xml:space="preserve">
<value>Support: support@myapp.com</value>
</data>
<data name="CopyrightStatement" xml:space="preserve">
<value>Copyright 2013 MyCompany</value>
</data>
<data name="PrivacyInfoLink" xml:space="preserve">
<value>http://myapp.com/privacy.html</value>
</data>
<data name="TermsAndConditionsLink" xml:space="preserve">
<value>http://myapp.com/termsandconditions.html</value>
</data>
<data name="VersionInfo" xml:space="preserve">
<value>1.0.0</value>
</data>
<data name="AppBarMenuItemAboutText" xml:space="preserve">
<value>about</value>
</data>
<data name="TermsAndConditionsText" xml:space="preserve">
<value>RateMyApp's Terms and Conditions</value>
</data>
<data name="PrivacyInfoText" xml:space="preserve">
<value>MyCompany's Privacy Policy</value>
</data>
</root>

0 comments on commit b90929c

Please sign in to comment.