WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 7 months ago

#38664 assigned enhancement

Allow installing translations via the language setting on the user profile edit page admin

Reported by: barryceelen Owned by: swissspidy
Milestone: Future Release Priority: normal
Severity: normal Version: 4.7
Component: I18N Keywords: needs-patch
Focuses: Cc:

Description

A language option was added to the user's profile settings page. It would be nice to be able to add languages like you can in Settings > General

Change History (11)

#1 @ocean90
3 years ago

By "adding" you mean "installing" right?

#2 @barryceelen
3 years ago

Correct :-)

#3 @ocean90
3 years ago

  • Summary changed from Allow adding locales via the language setting on the user profile edit page admin to Allow installing translations via the language setting on the user profile edit page admin
  • Type changed from feature request to enhancement

Related commit: [30335]

I'm not sure about that because it would allow non-admins to modify/add files on your filesystem.

#4 follow-up: @johnbillion
3 years ago

I think this feature should at least be allowed for users who can manage options. Without it, an admin has to either install a new language manually, or they have to switch the site language to their preference in order to install it, then switch it back, then switch their user language to their newly-installed preference.

#5 in reply to: ↑ 4 @swissspidy
3 years ago

I think this feature should at least be allowed for users who can manage options. Without it, an admin has to either install a new language manually, or they have to switch the site language to their preference in order to install it, then switch it back, then switch their user language to their newly-installed preference.

+1

#6 @MaximeCulea
3 years ago

If you are looking for wp_disallow_file_mods( $context ) method, it has been implemented in ticket.38673

This ticket was mentioned in Slack in #core-multisite by ocean90. View the logs.


3 years ago

#8 @swissspidy
14 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 5.0

I think should use the new install_languages capability introduced in [41268] for this.

I'm doing that in my Preferred Languages feature plugin as well.

#9 @pento
10 months ago

  • Milestone changed from 5.0 to 5.1

#10 @pento
7 months ago

  • Milestone changed from 5.1 to Future Release

#11 @swissspidy
7 months ago

  • Owner set to swissspidy
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.