WordPress: Internationalization (2016)
54mAdvanced2016-08-25
Authors

Carrie Dils
Development, WordPress
Course details
Want to take your WordPress site worldwide? WordPress's internationalization features allow developers to configure their code so they can be easily translated and localized. In this course, Carrie Dils introduces the specific functions and tools WordPress developers can use to make their code translation-ready. Learn how to use translation functions in WordPress and PHP, prep code for translation, adjust for special cases such as plurals, and internationalize your themes and plugins. Know another language? Find out how you can help the entire WordPress community by contributing to the WordPress translation project on GlotPress, an open-source platform used to translate WordPress.
Learning objectives
Why internationalization is important
Using the gettext() function
Translating strings, HTML, and JavaScript
Adding context for translations
Adding and loading text domains for WordPress themes and plugins
Translating using GlotPress
Learning objectives
Why internationalization is important
Using the gettext() function
Translating strings, HTML, and JavaScript
Adding context for translations
Adding and loading text domains for WordPress themes and plugins
Translating using GlotPress
Skills covered
WordPressContent Management Systems (CMS)Web DevelopmentOpen SourceDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you need to know
- 03 - Exercise files
1. Get to Know Internationalization
- 04 - Internationalization vs. localization
- 05 - Why internationalization is important
- 06 - Benefits of internationalization
2. Use Translation Functions
- 07 - What is gettext
- 08 - Translate strings
- 09 - Translate HTML
- 10 - Use placeholders
- 11 - Argument swapping
- 12 - Work with plurals
- 13 - Add context
- 14 - Translate JavaScript
3. Make Themes and Plugins Translation Ready
- 15 - Best practices for internationalization
- 16 - Add and load text domains
- 17 - Use text domains
- 18 - Tools to generate POT files
- 19 - Create POT, PO & MO files
- 20 - Automate with Grunt & Gulp
- 21 - Considering RTL
4. Continue Your Journey
- 22 - Translating for WordPress with GlotPress
Conclusion
- 23 - Next steps