Created attachment 63538 [details] [review]
The code for looking up localized strings for action descriptions
was manually trying to break locale names into pieces, but didn't
get it right for e.g. zh_CN.utf-8. Instead, use the GLib function
g_get_locale_variants(), which handles this (and more). This fixes
the translation problem reported in
on Aug 25, 2016 at 14:56:05.
(provided by the Example extension).