- Home /
How to change windows 8 app's default tile according to device/system language in Unity
We want to port our game for windows 8 store so we want to implement localized Tiles/Lives Tiles for Windows 8(Store) app as per our client's requirement, The functionality of Live Tiles should be following :
All icons/images of Default Tiles ( small(70x70), medium(150x150) ,wide(310x150)) are different for each language that will be changed according to the device/system's current language at runtime( if user changes the system language).
We have implemented it in Windows phone8 with prime 31's Windows phone Essentials plugin, now they want same feature/functionality in windows 8's(Store) build also, but prime31 guys not providing same functionality in Winodws 8 store's Metro Essentials plugin.
We have a submission closing in and would like to know if we can implement it in unity or with unity plugin and how it can be resolved or any workarounds or alternatives to implement it.
If you know any solution with any plug in or other than plugin or any native XAML,C# implementation/solution please let us know.
Answer by MMdkarzon · Feb 17, 2014 at 09:39 PM
This functionality is actually built in to Windows Store apps. All you need to do is set the correct file names and folder structure.
Make sure the files have the same file name and they are in a folder with the name of the culture or language (ie "en" or "en-us") then refer to the file without the folder and Windows will pick up all the localizations for you.
So You have a tile.png file for each localization then have a folder structure similar to:
/en-us/tile.png
/de/tile.png
/fr/tile.png
Here is a sample for you: http://code.msdn.microsoft.com/windowsapps/Localization-for-and-Assets-4fac00c3
Your answer
Follow this Question
Related Questions
Prime31 azure plugin can't build 0 Answers
[Winrt] Hashtable & Arraylist compilation error 1 Answer
Windows Store 8 Webview 1 Answer
using Array.Sort Method (Array, Array) in a Metro App 0 Answers
Unity crashing after a few minutes 3 Answers