locale : stringDefault: 'en-us'

The language that needs to be in use.

Examples

French Default

    
 <script src="/Areas/Development/dist/modular/dialog/js/messages/messages.fr-fr.js"></script>
 <div id="dialog">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <script>
     $("#dialog").dialog({
         resizable: true,
         locale: 'fr-fr'
     });
 </script>

  

French Custom

    
 <script src="/Areas/Development/dist/modular/dialog/js/messages/messages.fr-fr.js"></script>
 <div id="dialog">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <script>
     gj.dialog.messages['fr-fr'].DefaultTitle = 'Titre de la boîte de dialogue';
     $("#dialog").dialog({
         resizable: true,
         locale: 'fr-fr',
         width: 700
     });
 </script>