Skip to content
सभी लेख

README

3 मिनट पढ़ें

Hindi translations (/hi/blog/$slug)

Files here are Hindi mirrors of the EN posts in src/content/blog/*.md.

  • Slug must match the EN canonical slug (so hreflang alternates pair cleanly).
  • Keep the same published_at as the EN source so freshness signals line up; bump updated_at when you re-edit.
  • Set language: hi in the frontmatter (the loader also defaults this).
  • The route auto-emits hreflang alternates (hi-IN, en-IN, x-default) and og:locale: hi_IN.
  • /sitemap-hi.xml lists every file in this directory.

Generate translations with: node scripts/translate-blog-hi.mjs --top 30 (requires LOVABLE_API_KEY in the environment; uses the Lovable AI Gateway).