feat(i18n): add Turkish (tr-TR) locale translation

Add complete Turkish localization for the GPUStack UI including all 18 translation files covering common UI, menus, dashboard, models, playground, resources, API keys, users, backends, benchmarks, clusters, providers, routes, shortcuts, usage, and vendor names.
This commit is contained in:
bakiburakogun
2026-03-23 15:55:07 +08:00
committed by jialin
parent 8b5e407758
commit 77f0740ec9
19 changed files with 1476 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/**
* @description The directory name used in require.context must match the language configuration names defined in lang-config-map.ts.
* @example Directories like 'en-US' or 'zh-CN' should correspond exactly to the configuration names in lang-config-map.ts.
*/
// @ts-ignore
const requireContext = require.context(`./tr-TR`, false, /\.ts$/);
let languageConfig: Record<string, string> = {};
requireContext.keys().forEach((fileName: any) => {
const moduleConfig = requireContext(fileName).default;
languageConfig = {
...languageConfig,
...moduleConfig
};
});
export default languageConfig;