Hello,
Strings for the new default theme named Twenty Eleven are inserted into core WordPress language file for 3.2. Should they be in a separate file or this is some future method of managing translations?
-
Kenan Dervišević
Reply
Hello,
Strings for the new default theme named Twenty Eleven are inserted into core WordPress language file for 3.2. Should they be in a separate file or this is some future method of managing translations?
Andrew Nacin 9:38 am on April 23rd, 2011 Permalink |
They should have their own textdomain and own pot. Any that don’t, we can correct that. (Create a ticket.)
Peter Westwood 10:58 am on April 23rd, 2011 Permalink |
We need to update the makepot.php script that potbot uses to know about twentyeleven.
Kenan 10:29 am on April 29th, 2011 Permalink |
Is it possible to do this anytime soon? Strings are constantly added to the wrong place and it will just create a confusion when the release is ready. If I am correct, only line 146 in the code of makepot.php needs to be changed to include ‘wp-content/themes/twentyeleven/.*’ beside continents-cities and twentyten.
Zé 12:37 pm on April 29th, 2011 Permalink |
makepot.php has to be changed *too*, but it is not the main place. (makepot.php is a *generic* tool to parse php code and create a .po from the gettexted strings, and is aware of continents-cities and twentyten/twentyeleven, for special treatment)