Issue #1898428: Convert locale module to Twig.