[
https://issues.apache.org/jira/browse/CB-7102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061861#comment-14061861
]
ASF GitHub Bot commented on CB-7102:
------------------------------------
Github user zalun commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-globalization/pull/17#discussion_r14923584
--- Diff: plugin.xml ---
@@ -70,6 +70,20 @@
</js-module>
</platform>
+ <!-- firefoxos -->
+ <platform name="firefoxos">
+ <js-module src="src/firefoxos/l10n.js" name="l10n">
+ <runs />
+ </js-module>
+ <js-module src="src/firefoxos/l10n_date.js" name="l10n_date">
+ <runs />
+ </js-module>
+ <js-module src="src/firefoxos/GlobalizationProxy.js"
name="GlobalizationProxy">
--- End diff --
Moving GlobalizationProxy module to the top throws for me
"Exception calling native with command :: Globalization :: getLocaleName
::exception=TypeError: navigator.mozL10n is undefined"
I see I was working on an app created with an older version of Cordova - on
new one it indeed is not working - all dates are English - please set language
to a different language before testing. `navigator.mozL10n.language.code =
'pt-BR'`
> globalization
> -------------
>
> Key: CB-7102
> URL: https://issues.apache.org/jira/browse/CB-7102
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: FirefoxOS
> Reporter: Piotr Zalewa
> Assignee: Piotr Zalewa
>
> Add globalization support for Firefox OS
--
This message was sent by Atlassian JIRA
(v6.2#6252)