Skip to content

Handle zh-CN & zh-TW

GeopJr requested to merge GeopJr/onionsproutsbot:handle-zh-cn-zh-tw into main

babel seems to be following a different set of locales for the zh-* family:

  • zh-CN <=> zh-Hans
  • zh-TW <=> zh-Hant

This MR manually adds zh-CN and zh-TW to the list of languages and then changes them to zh-Hans and zh-Hant when used by babel.

fixes: #24 (closed)

Merge request reports

Loading