Results 1 to 9 of 9

Thread: Locales for Dutch language do not work

  1. #1
    svennemans is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7

    Default Locales for Dutch language do not work

    Hi,

    I've been reading a previous thread on this topic, and it seems that the output from ResourceBundle::getLocales('') does not guarantee that all listed locales are working when using setlocale(LC_TIME, <locale>);

    In my case, I have managed to use the following locales:
    - en_US.UTF8
    - fr_FR.UTF8
    - de_DE.UTF8
    - de_AT.UTF8

    However, I am also looking for a locale for the Dutch language and that doesn't seem to work.

    Can you please check if either of the following locales are available:
    - nl_NL.UTF8
    - nl_BE.UTF8

    Thanks!

  2. #2
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    735

    Default

    Could you link here a page (.php) with this code?

    PHP Code:
    <?php
    setlocale
    (LC_ALL, 'it_IT');
    echo
    strftime("%A, %e %B %Y<br/>");
    setlocale(LC_ALL, 'de_DE');
    echo
    strftime("%A, %e %B %Y<br/>");
    setlocale(LC_ALL, 'fr_FR');
    echo
    strftime("%A, %e %B %Y<br/>");
    setlocale(LC_ALL, 'es_ES');
    echo
    strftime("%A, %e %B %Y<br/>");
    setlocale(LC_ALL, 'nl_NL');
    echo
    strftime("%A, %e %B %Y<br/>");
    setlocale(LC_ALL, 'nl_BE');
    echo
    strftime("%A, %e %B %Y<br/>");
    ?>
    Thanks.

    Bye!

  3. #3
    svennemans is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7

    Default

    Sure, I've added it to the top of my locale/encoding testpage HERE

    Result:

    marted�, 23 febbraio 2021
    Dienstag, 23 Februar 2021
    mardi, 23 f�vrier 2021
    martes, 23 febrero 2021
    martes, 23 febrero 2021
    martes, 23 febrero 2021
    Last edited by svennemans; 02-24-2021 at 10:36 AM.

  4. #4
    svennemans is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7

    Default

    Hi there,

    Did you have any luck in enabling the locale? I still don't see any changes on my side.

    Kind regards,
    Svennemans.

  5. #5
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    735

    Default

    Sorry, I'm asking again about your problem.

    Bye!

  6. #6
    svennemans is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7

    Default

    Quote Originally Posted by alemoppo View Post
    Sorry, I'm asking again about your problem.

    Bye!
    Hey,

    Sorry for being pushy but - any progress?

    Kind regards,
    Svennemans.

  7. #7
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    735

    Default

    The problem should be fixed, can you try now?

    Bye!

  8. #8
    svennemans is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7

    Default

    Quote Originally Posted by alemoppo View Post
    The problem should be fixed, can you try now?

    Bye!
    Yes! That worked, it's OK now.
    Grazie mille!

  9. #9
    svennemans is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7

    Default

    Hi,

    The problem reported above has appeared again - Dutch language locales are not working anymore.

    Can you please check if the following locales can be made available again:
    - nl_NL.UTF8
    - nl_BE.UTF8

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO