You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "carsten nelk (JIRA)" <ji...@apache.org> on 2013/07/31 16:35:48 UTC
[jira] [Commented] (CB-4474) Globalization is not working in
PhoneGap 3.0
[ https://issues.apache.org/jira/browse/CB-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725293#comment-13725293 ]
carsten nelk commented on CB-4474:
----------------------------------
In Android a change of the config.xml file helped me.
<feature name="Globalization">
<param name="android-package" value="org.apache.cordova.core.Globalization" />
</feature>
The CLI generates a different feature tag.
> Globalization is not working in PhoneGap 3.0
> --------------------------------------------
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Globalization
> Affects Versions: 3.0.0
> Environment: Android and iOS.
> Reporter: Raymond Camden
> Assignee: Steve Gill
>
> Discussed on this Google Groups thread, https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, Globalization is failing in 3.0. In iOS, the success/error handler never fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [
> "Globalization1890587700",
> "Globalization",
> "getPreferredLanguage",
> [
> ]
> ]
> In Android, the error handler fires with: Class not found
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira