Skip to content

Commit 7ae82ef

Browse files
committed
Access Game.po file
1 parent e0039ed commit 7ae82ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/i18n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ i18n
1111
// > see https://github.com/i18next/i18next-http-backend
1212
loadPath: function(lngs, namespaces: Array<string>) {
1313
if (namespaces[0].startsWith("g/")) {
14-
return '/i18n/{{ns}}/{{lng}}/Game.json';
14+
// return '/i18n/{{ns}}/{{lng}}/Game.json';
15+
return '/i18n/{{ns}}/{{lng}}/Game.po';
1516
} else {
1617
return '/locales/{{lng}}/{{ns}}.json';
1718
}

0 commit comments

Comments
 (0)