diff --git a/src/i18n.ts b/src/i18n.ts index 1d957aa..69e662f 100755 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -1,10 +1,10 @@ import fs from 'fs'; -import path from 'path'; +import path, { join } from 'path'; import yaml from 'js-yaml'; import { Translations } from './types'; -const BASE_PATH = '/media/lynnux/[E] Other/Codes/@Github/@LynnuxDev/AkiraLocalization'; +const BASE_PATH = join(process.cwd(), '..', '/AkiraLocalization'); /** * Loads a YAML translation file and retrieves the value for a given key.