WordPress Translation: Internationalization and Localization


  • WordPress Theme Development Handbook. Internalization.
  • __() – Returns a defined translation for a given word, this translation is found in a WordPress localization file.
  • _x() – Allows for a context to be defined for a string which is helpful to individuals translating a word into another language that may not have a direct equivalent, etc.