mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
⚡ Switch to JSON for localization service
This commit is contained in:
@@ -34,6 +34,6 @@ export async function getNodeTranslationPath(
|
||||
const maxVersion = await getMaxVersion(nodeDir);
|
||||
|
||||
return maxVersion
|
||||
? join(nodeDir, `v${maxVersion}`, 'translations', `${language}.js`)
|
||||
: join(nodeDir, 'translations', `${language}.js`);
|
||||
? join(nodeDir, `v${maxVersion}`, 'translations', `${language}.json`)
|
||||
: join(nodeDir, 'translations', `${language}.json`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user