This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The purpose of this file is to show how a theme can have multiple textdomains | |
| * and still work with a single translation file. Translation tools like the | |
| * one used on WordPress.org and Poedit are going to simply scan the project for | |
| * text strings, regardless of the textdomain (and for good reasons that are | |
| * not relevant here). | |
| * | |
| * The code below works with that system. It assumes that we have a single MO | |
| * file based on the theme's textdomain. So, how can two textdomains work? It |
OlderNewer