[wp-trac] [WordPress Trac] #38673: Handle languages as 'DISALLOW_FILE_MODS' is activated

WordPress Trac noreply at wordpress.org
Fri Nov 4 17:24:19 UTC 2016


#38673: Handle languages as 'DISALLOW_FILE_MODS' is activated
-------------------------+-----------------------------
 Reporter:  MaximeCulea  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  I18N         |    Version:  4.6.1
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Hi guys,

 Before submitting a real issue and the according patch, I would like to
 know how you guys feel about the following situation.

 As an agency, I do not allow my clients to update core, plugins, so on.
 So, I set the `DISALLOW_FILE_MODS` to true.

 But by doing this, no one on site is anymore able to install a new
 language, translate i18n strings with Locostranslate, for ie, as they are
 based, and with good reasons, on the `DISALLOW_FILE_MODS` var. This is due
 of a maybe file creation.

 For now, I described the current and "correct" way of using and doing it.
 But as far as WordPress evolved since v4.0.0, the available language
 dropdown and other features are limited as we could say "in the same
 basket".

 My question is, why we couldn't create a new var which affect these
 languages concern `DISALLOW_LANGUAGE_MODS` ?

 Talking about the core, it would have an effect on :
 - `wp_download_language_pack`
 - `wp_can_install_language_pack`

 Waiting for you responses ! :raised_hands:

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


More information about the wp-trac mailing list