[wp-hackers] Will automatic translation files updates overwrite user's modifications
otto at ottodestruct.com
Tue Dec 3 19:25:16 UTC 2013
If the files are being stored in a place that WordPress is expecting to be
able to update them, then yes. It's no different than changing core code or
changing code in a plugin or theme directly.
If you use customized files, then you should put them in custom locations
with some form of custom code to cause the system to use them. Modifying
files that can be updated by an auto-update process directly means your
changes are not safe.
On Tue, Dec 3, 2013 at 1:03 PM, Nikola Nikolov <nikolov.tmw at gmail.com>wrote:
> It just occurred to me - the new feature(automatic download/update of
> translation files) that is planned for WordPress is awesome, but would it
> overwrite any changes the user might have done to the local translation
> For instance, the user has installed the Codestyling Localization plugin,
> or has a different way of overwriting translation files and has modified
> one or more translation files.
> Why would they do that? Well they just don't like the wording for instance
> - translation files are a great way to tweak texts(even when the original
> text is in the same language), without having to modify the code.
> So what I'm wondering is - are those edits going to be lost upon update or
> are they going to be preserved? It's true that if it's the translation file
> of a theme or a plugin that they changed, upon updating those the edits
> would be lost, but does the same apply for WordPress translation
> files(stored in /wp-content/languages/)?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers