Localize WP8 App - windows-phone-8

My windows phone 8 app have to be published in English and Arabic versions. I have created the resource strings in default language that is en-US and then have created the translations by "MultilingualAppToolkit" that generated the ar-SA files.
I changed the phone language and restarted the phone and experienced a strange scenario :
App bar orientation and messages are in arabic but screen flow and strings are in english.
Another question is i have to give user the option to change the language regardless of the phone language. so how can i change the language settings on application initialization.

Related

Windows Phone App Policies

I'm trying to publish an app for Windows Phone 8.1 and 10 (Only Mobile),
I already published a lot of apps on the same account. This is the same of another already on the store with just a different icon (different customer, it's B to B) and name, but from the 16 of october the policy for the windows store changed and now my app is blocked with the following reason:
App Policies: 10.1 Inaccurate Representation
Your app and its associated metadata must accurately and clearly
reflect the source, functionality, and features of your app.
•All aspects of your app should accurately describe the functions,
features and any important limitations of your app, including required
or supported input devices. Your app may not use a name or icon
similar to that of other apps, and may not claim to be from a company,
government body, or other entity if you do not have permission to make
that representation.
•Your app must be fully functional and must provide appropriate
functionality for each targeted device family.
•Keywords may not exceed seven unique terms and should be relevant to
your app.
•Your app must have distinct and informative metadata and must provide
a valuable and quality user experience.
Locations: Metadata
Notes To Developer
The app's "pin to start", "app list", or "games hub" icon does not
accurately represent the app and/or is a default icon. The
"pin-to-start" tile submitted in the submission package, which is
different from the icon and tile images in the app metadata, must
uniquely represent the app so users can associate it with your app.
For information about icons and tiles in Windows apps, see
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202948(v=vs.105).aspx.
I searched on the internet but I didn't find anything useful for this problem and I don't get what are those "pin to start", "app list", and"games hub" they are talking about in the Note to Developers.
Anyone knows the solution?
Thanks in advice
Based on your description, it seems that you haven’t set the title images for your app. So I would like to suggest you to delete all of icons in your project and open Package.appxmanifest in Visual Studio and select the Visual Assets. Please make sure to replace all default titles with the correct size image that represents your app. And then you could need to create your app package and resubmit your app again.
By the way, if your project is UWP, you could use UWP Title Generator tool to generate correct size title quickly.
Update:
As your project is Windows Phone Silverlight 8.1, firstly, please prepare the correct size title, and then right-click Assets--choose Add--Existing item, you can choose the correct size title to replace the default title.
Then right-click Package.appxmanifest, choose open with--XML(Text)Editor, then you could need to make sure that the path of title is correct.
Finally, you may need to rebuild the project in order for the tile titles to show up properly.
Hope it is helpful to you.

Launch a Windows Phone app with android AAR (NFC)

I have a device with a hard-coded NFC tag that opens an Android app based on an Android Application Record (AAR). Basically it calls an Android app to open with type android.com:pkg and payload com.something.Something.
I have researched on how to launch my Windows Phone app with that existing tag, but in the end I have only found that Windows Phone can launch an app if the NFC tag is adequately programmed to open the Windows Phone app ID or the custom protocol registered in my app. But it is very important that I use the existing NFC tag which opens the Android app ID.
What is curious is that my Windows 10 Mobile detects this existing NFC tag to want to open the app when I touch it with my phone and prompts me if I want to launch an app? But the app with that ID isn't installed so I did a research on how to put this app ID on my Windows Phone app but in the end I only got deployment errors.
Android Application Records (AAR) cannot be used to launch Windows apps. Windows uses a different system to launch apps (Launch Record). The main probem is that Windows uses a different scheme to identify apps (not a Java package name as Android does). Moreover, Windows apps cannot be set to be automatically launched based on the data contained in an AAR, hence, it's not possible to build some custom filter that starts your Windows app based on that AAR.
The workaround that's currently known seems to be what's discussed in Cross platform launch records with extra data on Windows Phone and Android. Though this requires modification of the data structures on the tag side.

change application display name in windows Phone Application using globalization and Localization?

I try to change my windows phone application display name using globalization and localization. I use 2 language for now. Is it possible to change display name in WMAppManifest.xml ?
I write my application name in Turkish, and I want application name is changing to English in phone's menu if phone is in English.
I'm programming Windows Phone 8.1 app.
This MSDN article is the first hit when you enter "localize application display name on windows phone" on Google. You have all the information you need there.

Manifests for Windows 8 Phone app

I am examining Microsoft sample app "DirectX 3D shooting game sample". And I can see two manifests: Package.appxmanifest and StoreManifest.xml in the project.
After that I created a new WP8 project from template named "DirectX App (Windows Phone 8.0)".
The latter one contains WMAppManifest.xml.
All these manifests describe different things. E.g. Package.appxmanifest describes supported device orientations, meanwhile WMAppManifest.xml does not contain such an info.
My question is: what manifest is really needed to make an app for Windows Phone Store? And how do I specify supported device orientations for WMAppManifest.xml (because my game project is based on "DirectX App (Windows Phone 8.0)" template).
They are for different things. You can see what's in the application manifest (package.appxmanifest); there's even a designer for it in Visual Studio.
For the Store manifest, see http://msdn.microsoft.com/en-us/library/windows/apps/jj730526.aspx

Catch NFC NDEF-Text-tags system-wide?

My Windows Phone 8 app should react to NDEF-Text-encoded NFC tags, no matter if the user is currently in another app or on the homescreen. On Android, this works by having the app "subscribe" to certain tags (e.g., NDEF-Text, in my case), and the operating system will allow the user to choose from a list of apps if more than one app can process the scanned tag. Is there anything comparable for WP8? At the moment, I am using
ProximityDevice _device = ProximityDevice.GetDefault();
long _subscriptionIdNdef = _device.SubscribeForMessage("NDEF", MessageReceivedHandler);
in my MainPage-class, which works fine, but obviously only if the user has launched my app prior to scanning a tag.
Unfortunately, for the moment NDEF-Text tags can't be handled by third party apps on Windows Phone 8.
If you want the OS to launch your app, you will have to either use the NDEF-LaunchApp record type or register a custom URI scheme.