Giter Club home page Giter Club logo

Comments (43)

goya avatar goya commented on August 24, 2024 1

winphone8 now has config-file element support. so for example to change the default / add supported languages you can add this to your config.xml:

<gap:config-file platform="winphone" parent="/Deployment" mode="replace">
<Languages xmlns="">
        <Language code="fr-FR"/>
        <Language code="fr-CA"/>
    </Languages>
    <DefaultLanguage xmlns="" code="fr-FR" />
</gap:config-file>

it has been deployed and we will be adding it to the docs soon.

from build.

alunny avatar alunny commented on August 24, 2024

Another person with this issue: http://community.phonegap.com/nitobi/topics/windows_phone_needs_target_language_app_denied_for_app_hub

from build.

amirudin avatar amirudin commented on August 24, 2024

Similar issue here:
http://community.phonegap.com/nitobi/topics/how_do_i_change_the_default_culture_language_of_my_app

from build.

jellehermsen avatar jellehermsen commented on August 24, 2024

5 months later this issue still exists, and unfortunately this renders PB for Windows Phone unusable for me, because I need to get my Dutch app submitted. I understand this is a very low priority problem, because most people will want their apps in English, but I really hope that someone picks up on this.

from build.

fredrikstolpe avatar fredrikstolpe commented on August 24, 2024

What's the status on this? I also have the same problem.

from build.

laurianttila avatar laurianttila commented on August 24, 2024

Having same issues with an app which is supposed to be launched in Finnish only. It seems the only solution is to build with Visual Studio.

from build.

fredrikstolpe avatar fredrikstolpe commented on August 24, 2024

Yup, that was what I ended up doing. The WP apps goes from visual studio, iOS and android from Phonegap build.

from build.

christiandersen avatar christiandersen commented on August 24, 2024

It would be very nice if this bug was solved.

from build.

amirudin avatar amirudin commented on August 24, 2024

Related issue:
http://community.phonegap.com/nitobi/topics/_winphone_does_not_support_locales

from build.

vkgundersen avatar vkgundersen commented on August 24, 2024

Got the same error, can't submit my app as Danish. Would love for this to get fixed!

from build.

fredrikstolpe avatar fredrikstolpe commented on August 24, 2024

For people who are stuck, more info on the only solution right now:
http://community.phonegap.com/nitobi/topics/_winphone_does_not_support_locales/replies/11256215/

from build.

laurianttila avatar laurianttila commented on August 24, 2024

This documentation should be also helpful. We've now published our app in Finnish building it for WP following this method. http://docs.phonegap.com/en/2.3.0/guide_getting-started_windows-phone-8_index.md.html#Getting%20Started%20with%20Windows%20Phone%208

Still would be good if this could be done using build service.

from build.

shawnmckay24 avatar shawnmckay24 commented on August 24, 2024

Thank you for submitting an issue. The PhoneGap Build team has triaged your request and labeled it:

  1.   Bug
    
  2.   Low priority
    

We've added your request to the team's backlog. Due to high volumes, there may be a delay in addressing your request. Rest assured, we haven't lost track of your request. Your feedback is very valuable to us, so please keep it coming.

If you have any questions, please ask us over on our support community. We love to help!

Cheers,

The PhoneGap Build team

from build.

shawnmckay24 avatar shawnmckay24 commented on August 24, 2024

Thank you for submitting an issue. The PhoneGap Build team has triaged your request and labeled it:

  1.   feature request
    
  2.   Low priority
    

We've added your request to the team's backlog. Due to high volumes, there may be a delay in addressing your request. Rest assured, we haven't lost track of your request. Your feedback is very valuable to us, so please keep it coming.

If you have any questions, please ask us over on our support community. We love to help!

Cheers,

The PhoneGap Build team

from build.

wiikka avatar wiikka commented on August 24, 2024

Similar problem http://community.phonegap.com/nitobi/topics/windows_phone_xap_information_is_incorrect_language_version_capabilities
I hope this is fixed as soon as possible

from build.

basgroot avatar basgroot commented on August 24, 2024

+1 here!

from build.

basvanhal avatar basvanhal commented on August 24, 2024

Similar problem, but for us this is a showstopper.
Because we cannot deploy for windows phone.

So why is this a Low priority?

from build.

santeriv avatar santeriv commented on August 24, 2024

+1

from build.

markaspot avatar markaspot commented on August 24, 2024

+1

from build.

fredrikstolpe avatar fredrikstolpe commented on August 24, 2024

Hey guys, just have to repost my old solution from the support forum in case someone missed it. To support locales you can build locally using Visual Studio. Even if you normally don't use it you can download a free edition and do it quite simply:

  1. Download Visual Studio Express 2010 for Windows Phone: http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express
  2. Follow the instructions here: http://docs.phonegap.com/en/3.1.0/guide_platforms_wp7_index.md.html#Windows%20Phone%207%20Platform%20Guide

Note; it also works with newer versions of visual studio but then your OS needs to be windows 8.

from build.

laurianttila avatar laurianttila commented on August 24, 2024

Thanks for repost, this is the way we are currently building our WP version of our software (in fi-FI locale). Additional work, but it works.

from build.

markaspot avatar markaspot commented on August 24, 2024

Thanks!

from build.

 avatar commented on August 24, 2024

+1

from build.

rebrandsoftware avatar rebrandsoftware commented on August 24, 2024

+1. My app is available in 22 languages but I can only submit English descriptions and screenshots to the Windows Phone app store because of this bug.

In my case a setting for multiple languages would be more appropriate but I would of course settle for doing 22 individual builds to get around this bug.

from build.

rebrandsoftware avatar rebrandsoftware commented on August 24, 2024

This one is a real bummer due to the workflow of the windows phone app submission process. You only find out about it once you have a release-ready XAP built.

from build.

rebrandsoftware avatar rebrandsoftware commented on August 24, 2024

In the mean-time I have a temporary solution that is allowing me to submit multiple languages:

-Download your XAP from Build
-On a Windows machine (I used Win8 because this didn't work on my mac)
-Change extension to .zip
-Decompress
-Edit XMAppManifest.xml
-In XML format, add your default language and language codes in this format (space added after < to allow for posting here):

< Languages xmlns="">
< Language code="en-US" />
< Language code="de-DE" />
< Language code="ja-JP" />
< /Languages>
-Save the XML file
-Recompress the contents of the XAP into a ZIP file
-Rename .zip to .xap
-Submit to store

Make sure you follow the codes listed here or you'll get an error message:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202918(v=vs.105).aspx

I now have one XAP with 22 languages available for me to fill out descriptions and add screenshots.

So, it seems like in order to properly add support to PhoneGap Build it will be necessary to add Default Language and individual ISO language codes to config.xml, and filter out an unsupported languages before adding them to the XMAppManifest.xml file.

from build.

bau720123 avatar bau720123 commented on August 24, 2024

+1
thanks to @rebrandsoftware

from build.

sstraus avatar sstraus commented on August 24, 2024

Do we need to change it manually each time or will be fixed?

from build.

basterbrugge avatar basterbrugge commented on August 24, 2024

+1 on support for this on Phonegap Build.

from build.

EddyVerbruggen avatar EddyVerbruggen commented on August 24, 2024

+1 on finally fixing this, it's the oldest issue in the repo and pretty essential for WP support. And thanks to @rebrandsoftware for the workaround!

from build.

rebrandsoftware avatar rebrandsoftware commented on August 24, 2024

It's been 5 months since I posted that workaround. I'm glad to see it's helped some people. I just released a new windows phone build yesterday using Build with PhoneGap 3.3.0 and it has not been fixed.

I had to look up my own workaround because I had forgotten what I did the first time! Thanks, me! :)

Hopefully they will get to it soon.

from build.

rebrandsoftware avatar rebrandsoftware commented on August 24, 2024

Also, if you use my workaround and do a new build: yes, you have to do it all over again. I would keep a text file with your additional XML handy once you get it working properly.

Make sure you don't submit an English only XAP by accident. The Windows Store will delete all of your previous localizations if you do.

from build.

lhwparis avatar lhwparis commented on August 24, 2024

unbelievable that this issue is still open? ehats going on here? are other languages then english not a major case for the phonegap team? in my oppinion thats a blocker!

from build.

bau720123 avatar bau720123 commented on August 24, 2024

+1
I don't know why phonegap team doesn't solve this problem...
every build...every manually fix...

from build.

goya avatar goya commented on August 24, 2024

we'll check this out, as we could just copy the gap:config-file functionality from iOS and Android which would allow this support. i doubt we'll add new config.xml elements/attributes as that would just add more black box stuff.

i'll keep you posted as we triage stuff when we get back to work in the next week.

from build.

bau720123 avatar bau720123 commented on August 24, 2024

hi @goya
it's work
thanks for your usage way

from build.

andreszs avatar andreszs commented on August 24, 2024

@goya What about version number? The external version number from the XML is completely ignored by the Windows Dev Center. Am I the first one to upload a XAP file from PhoneGap to Windows Dev Center, or what?

from build.

goya avatar goya commented on August 24, 2024

Please read this thread as it explains how we normalize the version in config.xml to a valid version string for windows phone

http://community.phonegap.com/nitobi/topics/version-value-is-not-correct-in-windows-phone-8s-wmappmanifest-xml

from build.

Moinkhaan avatar Moinkhaan commented on August 24, 2024

I have added that config-file element in my config.xml, i am using cordova cli, and the generated file still does not contain the language I want inside its WMAppManifest.xml

from build.

wildabeast avatar wildabeast commented on August 24, 2024

@khaanYoufoot the <gap:config-file> element is only supported by PhoneGap Build, it won't have any effect on cordova cli builds.

from build.

Moinkhaan avatar Moinkhaan commented on August 24, 2024

@wildbeast < gap:config-file> is not supported by cordova CLI true, but it does affect it. It breaks the cordova CLI app after splash screen

from build.

ivanov84 avatar ivanov84 commented on August 24, 2024

This work as plugin in Cordova (Intel XDK):

<platform name="windows"> <config-file target="package.appxmanifest" parent="/Package/Resources" overwrite="true"> <Resource Language="EN-GB" /> </config-file> </platform>

https://github.com/cranberrygame/cordova-plugin-supportedlanguages-en

from build.

Firzenizer avatar Firzenizer commented on August 24, 2024

I am also having issues with Finnish language. Defaulting to en-US all the time. I tried the config element suggested by @goya with no luck. I am using phonegap build version 5.4.1.

I also noticed documentation has no mention of windows phone under modifying manifests:
http://docs.phonegap.com/phonegap-build/configuring/config-file-element/

What can I do? Except manually modify language every time.

from build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.