mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 01:28:30 -05:00
🐛 Fix encoding issue on reading po files.
This commit is contained in:
parent
adff40a4e7
commit
3583eb6aa9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function readLocales() {
|
|||
const result = {};
|
||||
|
||||
for (let lang of langs) {
|
||||
const content = fs.readFileSync(`./translations/${lang}.po`);
|
||||
const content = fs.readFileSync(`./translations/${lang}.po`, {encoding:"utf-8"});
|
||||
|
||||
lang = lang.toLowerCase();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue