Skip to main content
Tweeted twitter.com/#!/StackWordPress/status/500365263817424896
edited the question's title (and tags) to more accurately reflect what is being asked
Link

Update Wordpress with a different Prevent WordPress updates from overriding custom language issue!translations?

Source Link

Update Wordpress with a different language issue!

my site's language is persian and persian is a right-to-left language. Wordpress has a default installation package for this lang but for some cases like very bad translation for dashboard or default rtl style for everything (that is really annoying for theming) i installed original Wordpress in English and then use a custom language file for my theme. everything is ok but as you know for doing this i should set following line in wp-config.php file for running my theme in persian:

define('WPLANG', 'fa-IR');

but with changing this line of code in wp-config Wordpress think that i use persian version of Wordpress and say your Wordpress version is not update!

WordPress 3.9.2 is available! Please update now.

with changing the line to its default, update message disappears! if i click the update button Wordpress installs persian package, something that i really don't want to! the only solution is change the line to its default, update wordpress and change it back to "fa-IR"! is there a better approach to do this? is there a better way? what if one of users accidentally click on update button? thanks.