The first screen when installig WordPress aren’t reached by translation: http://img546.imageshack.us/img546/7360/24179209.png
-
Diana
Reply
The first screen when installig WordPress aren’t reached by translation: http://img546.imageshack.us/img546/7360/24179209.png
Milan Dinić 11:03 pm on June 30, 2012 Permalink |
Either language code is missing from wp-config-sample.php or there are no translation files. Otherwise, this should be translated.
Andrew Nacin 11:12 pm on June 30, 2012 Permalink |
Normally, but this screen is different. We can’t read wp-config-sample.php to check the language code (WordPress would break if we tried to include it), but we also don’t need to. Any localized release downloaded from WordPress.org not only includes a change in wp-config-sample.php for WPLANG, but also a line in wp-includes/version.php called $wp_local_package.
So this seems to tell me that you have language files in place (based on your inquiry) but nothing in wp-config-sample.php unless you added it yourself. The only other way this page could be in English is if you updated the install into English, not removing the existing language files but removing the line from version.php, and then lost your wp-config.php file.
Regardless, this isn’t a bug in core, and I don’t see anything we could do more effectively. It’ll work almost every time.
Diana K. Cury 11:34 pm on June 30, 2012 Permalink |
So running a fresh install will always display the first screen in english? I tried the localized package and also the original (then placing files after), neither worked.
Diana K. Cury 11:38 pm on June 30, 2012 Permalink |
Just in case: this is a local install and the page title get translated.
Milan Dinić 11:49 pm on June 30, 2012 Permalink |
I’ve just tried Serbian version and this screen is translated which means problem is just with your package.
Diana K. Cury 11:55 pm on June 30, 2012 Permalink
The strings are translated in languages files
how that can be?
Diana K. Cury 12:17 am on July 2, 2012 Permalink
Hello there, it was a local issue with caching I think. Thanks!
Mark Thomas Gazel 8:15 am on July 12, 2012 Permalink |
I have the experience. First page is untranslated. From the second screen it’s translated. To danish in this case.
Andrew Nacin 5:55 pm on July 12, 2012 Permalink
Can you reproduce that with a newly downloaded zip?