[wp-trac] [WordPress Trac] #27752: Version recognition for translated installations

WordPress Trac noreply at wordpress.org
Thu Apr 10 22:26:24 UTC 2014


#27752: Version recognition for translated installations
--------------------------------+-----------------------------
 Reporter:  icc97               |      Owner:
     Type:  feature request     |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Administration      |    Version:  3.8.2
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 '''If you have a translated version of WordPress and then install a later
 version of the default installation of WordPress on top then the WordPress
 dashboard doesn't think that you have updated.'''

 This is a problem if you want to use the WordPress Skeleton
 (https://github.com/markjaquith/WordPress-Skeleton) from Mark Jaiquith.
 The WordPress github or indeed the subversion version of WordPress only
 has the default translation (US English).

 Then the only way to get e.g. the dutch version is to set the `define(
 'WPLANG', 'nl_NL' );` and then include the translate files.

 However then the WordPress dashboard (http://mysite.com/wp-admin/) doesn't
 think that you have the latest version of WordPress installed until you
 edit the `wp-includes/version.php` file to add the following line:

 `$wp_local_package = 'nl_NL';`

 Then of course you can't switch the tag using subversion or checkout a new
 tag using git as you've modified one of the files. So you have to revert
 the `wp-includes/version.php` file, switch to the latest tag and then re-
 modify the file again.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27752>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list