wp_date doesn’t work

I was able to make my local WP installation display the date in French:

switch_to_locale( 'fr_CA' );
echo wp_date( 'F d' );

Output: octobre 11

(Note that I didn’t have to localize my date format string (ie, no __() inside the wp_date() call.)

However, when I tried Dutch:

switch_to_locale( 'nl_NL' );
echo wp_date( 'F d' );

Output: October 11

This is because the French (fr_*) language packs have been installed, but not the Dutch ones (nl_*).

Are you sure the required language packs are installed on your server? If not, check with your hosting provider.

References

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)