Skip to content

Instantly share code, notes, and snippets.

@pablocattaneo
Created March 4, 2016 14:15
Show Gist options
  • Select an option

  • Save pablocattaneo/dd0ed6a34b2caa15962b to your computer and use it in GitHub Desktop.

Select an option

Save pablocattaneo/dd0ed6a34b2caa15962b to your computer and use it in GitHub Desktop.
Date Wordpress Translate
<?php echo date_i18n('F'); ?>
Create the folder languages in wp-content and put the file es_ES.mo y es_ES.po
/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', 'ES_es');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment