jQWidgets Forums

jQuery UI Widgets Forums Angular How to set "culture" to fr-Fr ?

This topic contains 2 replies, has 2 voices, and was last updated by  Martin 6 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • How to set "culture" to fr-Fr ? #104203

    philbert
    Participant

    Hello, I’m French and i try to set the Angular jqxDateTimeInputcomponent to fr-FR.
    I got errors perhaps because I don’t deal right with the js files to import.
    Please, can you describe what are the things to do ?
    Thank you.
    Philbert.

    How to set "culture" to fr-Fr ? #104210

    philbert
    Participant

    No more problem. Just add [culture]=”‘fr-FR'” to the component attributes
    and import the js files in angular.json, like this :
    “scripts”: [
    “node_modules/jqwidgets-scripts/jqwidgets/globalization/globalize.js”,
    “node_modules/jqwidgets-scripts/jqwidgets/globalization/globalize.culture.fr-FR.js”
    ]
    Bye

    How to set "culture" to fr-Fr ? #104218

    Martin
    Participant

    Hello philbert,

    Thank you for the update!

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.