Skip to:

Opened 5 years ago

Closed 5 years ago

#8041 closed defect (bug) (fixed)

Time string. “few minutes, hours ago” not translated in Belarusian language

Reported by: wegosi's profile wegosi Owned by: boonebgorges's profile boonebgorges
Milestone: 5.0.0 Priority: high
Severity: normal Version:
Component: Core Keywords: reporter-feedback




belarusian translation files:


should have names


Only in that way "Last time member activity" shows correctly, in other way shows default English translation

Change History (4)

#1 @boonebgorges
5 years ago

  • Keywords reporter-feedback added
  • Milestone changed from Awaiting Review to 5.0.0

@wegosi Thank you for your report, and for your patience as we triage tickets.

It looks like you're correct. Do you know why WordPress's translation system uses 'bel' for Belarusian instead of 'be'? We might need to provide mappings for other domains as well.

#2 @wegosi
5 years ago


Sure. It's not correct. Because for other languages is used ISO 639-1: two-letter codes, but for for Belarusian language now is used ISO 639-2/T: three-letter codes. It's not correct!

I don't know why the wordpress ranslation system uses 'bel'. I think it's a core problem.
It's like use ENG instead of EN.

Last edited 5 years ago by wegosi (previous) (diff)

#3 @boonebgorges
5 years ago

Thanks for the quick response, @wegosi ! I spent some time matching up all of the moment.js locales with the corresponding WordPress locales (which are a mix of ISO 639-1, 2, and 3 codes), and found a small handful of mismatches. I learned something new about ISO language codes today! I'll add mappings for those locales.

#4 @boonebgorges
5 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 12351:

Activity: Map WP locales to ISO-639-1 when loading Moment.js locale.

Props wegosi.
Fixes #8041.

Note: See TracTickets for help on using tickets.