mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
feat: start french translation
This commit is contained in:
@@ -4,6 +4,7 @@ import { defineConfig } from 'astro/config';
|
||||
export const locales = {
|
||||
root: { label: 'English', lang: 'en' },
|
||||
es: { label: 'Español', lang: 'es' },
|
||||
fr: { label: 'Français', lang: 'fr' },
|
||||
};
|
||||
|
||||
// https://astro.build/config
|
||||
@@ -28,6 +29,7 @@ export default defineConfig({
|
||||
autogenerate: { directory: 'guides' },
|
||||
translations: {
|
||||
es: 'Guías',
|
||||
fr: 'Guides',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -35,6 +37,7 @@ export default defineConfig({
|
||||
autogenerate: { directory: 'challenges' },
|
||||
translations: {
|
||||
es: 'Desafíos',
|
||||
fr: 'Challenges',
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -73,6 +76,10 @@ export default defineConfig({
|
||||
label: 'Español',
|
||||
lang: 'es',
|
||||
},
|
||||
fr: {
|
||||
label: 'Français',
|
||||
lang: 'fr',
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user