Testing
Now comes the hard part: testing to see whether the translations work correctly and show up where they are supposed to be. That is controlled by a definition in the WordPress ‘wp-config.php’ file. Unfortunately, I was unable to locate a simple means of changing the defined language for the back end, even though several plugins appeared to do this.
Instead, I opened the ‘wp-config.php’ file and searched for the following statement:
1 2 | define(‘WPLANG’, ”); // define(‘WPLANG’, ‘es_ES’); |
Note that the default definition is the one that matches the underlying hosting system, in this case, “en_US’. To change that, the second parameter must be modified with the same language code as was used for creating the language file under test. In this situation, I would simply comment out the first line of the file and uncomment the second, then save the file.
Personal Links
My Amazon Wishlist
My DeviantArt Gallery
My Facebook Page
My Goodreads Bookshelf
My Smashwords Catalog
My Twitter Feed
My WordPress Profile