Part of #2006152: [meta] Don't call theme() directly anywhere outside drupal_render().
We are working today with this issue during Code Sprint UA.
Attached patch replaces theme() calls in the language module.
#2 looks good for me
if bot happy - RTBC
Committed d92b4e9 and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.