[wp-meta] [Making WordPress.org] #5643: Allow certain locales to remove certain HTML tags in translations

Making WordPress.org noreply at wordpress.org
Mon Mar 1 06:12:41 UTC 2021


#5643: Allow certain locales to remove certain HTML tags in translations
--------------------------------------+--------------------
 Reporter:  dd32                      |      Owner:  (none)
     Type:  defect                    |     Status:  new
 Priority:  normal                    |  Milestone:
Component:  Translate Site & Plugins  |   Keywords:
--------------------------------------+--------------------
 Certain translations (for example, Japanese) don't include italics in the
 language and so the italics tags are removed from translations to ensure
 proper display of the text.

 Currently this means that any translations for #ja with `<em>` or `<i>` in
 the original will always trigger a warning, even when it's not an issue.

 I'm not sure of the full list of languages which have no italic
 formatting, but I believe it's common with non-roman asian languages more-
 so than european non-roman languages.

 This is particularly of concern, as it has currently meant that any
 translation which is forced to remove a tag (and then ignore the warning)
 [https://github.com/GlotPress/GlotPress-
 WP/blob/306fe9335279592b770a38ff7ac4723aa6611b0a/gp-
 includes/warnings.php#L204-L215 hasn't had the rest of the HTML in the
 translation verified].

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5643>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list