1f16d1c5c9
- Add embedded translations schema to Recipe model with English support - Create DeepL translation service with batch translation and change detection - Build translation approval UI with side-by-side editing for all recipe fields - Integrate translation workflow into add/edit pages with field comparison - Create complete English recipe routes at /recipes/* mirroring German structure - Add language switcher component with hreflang SEO tags - Support image loading from German short_name for English recipes - Add English API endpoints for all recipe filters (category, tag, icon, season) - Include layout with English navigation header for all recipe subroutes
8 lines
158 B
TypeScript
8 lines
158 B
TypeScript
import type { LayoutServerLoad } from "./$types"
|
|
|
|
export const load : LayoutServerLoad = async ({locals}) => {
|
|
return {
|
|
session: await locals.auth()
|
|
}
|
|
};
|