bundles/basic: support creating additional locales

This commit is contained in:
Franzi 2021-01-24 07:49:49 +01:00
parent d344664fa1
commit 614bdf9dec
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 11 additions and 7 deletions

View file

@ -1 +1 @@
LANG=${node.metadata['locale']}
LANG=en_US.UTF-8

View file

@ -1 +1,5 @@
${node.metadata['locale']} ${node.metadata['locale'].split('.')[-1]}
en_US.UTF-8 UTF-8
% for locale in sorted(node.metadata.get('locales', set())):
${locale} ${locale.split('.')[-1]}
% endfor