Skip to content

i18n.en_US

YanQS edited this page Dec 13, 2025 · 1 revision

Internationalization (i18n)

Extracting strings

  • Use WordPress i18n tools or simple scripts to find calls to __(), _e(), _x(), etc., and extract msgid strings.

Updating translations

  • PO files live in languages/. Edit languages/wp-comment-notify-en_US.po with Poedit or manually.

Generating .mo

  • Use msgfmt from the gettext toolchain:

msgfmt -o languages/wp-comment-notify-en_US.mo languages/wp-comment-notify-en_US.po

or use WP-CLI i18n commands if available.

Notes

  • Keep placeholders (like %s, %d) intact.
  • Update the .pot file if you maintain one, and sync .po files with your translation platform or submit a PR.

主页 (Home)中文English

安装与升级 (Installation and Upgrade)中文English

模板与样式 (Templates and Style)中文English

日志与Cron (logs&cron)中文English

国际化 (Localization)中文English

变更日志 (Changelog)中文English

Clone this wiki locally