0fae3d6d14
Use SvelteKit param matchers for bilingual URL routing (e.g. /fitness/stats and /fitness/statistik). Add centralized i18n module with translation dictionary, language detection from URL, and path conversion utilities. Translate all UI text across pages, components, and navigation.
6 lines
155 B
TypeScript
6 lines
155 B
TypeScript
import type { ParamMatcher } from '@sveltejs/kit';
|
|
|
|
export const match: ParamMatcher = (param) => {
|
|
return param === 'history' || param === 'verlauf';
|
|
};
|