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'`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to