Multisite-Language-Switcher icon indicating copy to clipboard operation
Multisite-Language-Switcher copied to clipboard

Add setting to represent languages as labels instead of flags in backend.

Open hatsumatsu opened this issue 4 years ago • 3 comments

This is a rough PR for adding text based language labels in the WP backend. To test this feature go to Settings > Multisite Language Switcher and set Admin Display to Labels.

The labels are displayed in post lists, post edit screens and in the admin bar. See attached screenshot.

Screenshot 2020-06-30 at 11 16 46

hatsumatsu avatar Jun 30 '20 09:06 hatsumatsu

@lloc - Both this PR and #150 are trying to address a common goal where the default country/flag doesn't fit.

Examples include:

  • The en_CA and fr_CA flag are identical.
  • A network has multiple pairs of sites (10 sites = 5 actual sites x 2 language each) and having the identical flag for selector.

Would be good to know if these approaches are enhancements likely to be considered?

Idealien avatar Oct 13 '20 19:10 Idealien

I agree that this is probably the way to go ... I'd like to be sure that the user can choose which solution is the best for his/her needs. I did not check this but I will do this as fast as possible.

lloc avatar Oct 16 '20 07:10 lloc

I did not check this but I will do this as fast as possible.

Thanks. Running a fork with PR150 in some environments until the chosen/preferred approach gets implemented. Would love to be able to return back to master with WP 5.8+ if that kind of time frame is realistic for one or other to be part of plugin updates?

Idealien avatar Mar 23 '21 19:03 Idealien

Hi @lloc , no pressure, but just curious if you consider this PR to be a good idea and potentially being merged? Would love to see this feature in the official version of the plugin :-)

hatsumatsu avatar Mar 27 '23 08:03 hatsumatsu