All checks were successful
CI / update (push) Successful in 2m4s
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
154 B
TypeScript
6 lines
154 B
TypeScript
import type { ParamMatcher } from '@sveltejs/kit';
|
|
|
|
export const match: ParamMatcher = (param) => {
|
|
return param === 'measure' || param === 'messen';
|
|
};
|