Enable French

This commit is contained in:
Lazr1026
2026-06-05 14:29:52 -07:00
parent 6a6a94a5b1
commit bd7949c052
5 changed files with 98 additions and 4 deletions

View File

@@ -17,7 +17,8 @@ export default defineConfig({
locales: {
root: i18n.en_US,
hu_HU: i18n.hu_HU,
de_DE: i18n.de_DE
de_DE: i18n.de_DE,
fr_FR: i18n.fr_FR
},
sitemap: {
hostname: 'https://wiiu.hacks.guide'
@@ -86,7 +87,6 @@ export default defineConfig({
'es_ES/**',
'et_EE/**',
'fi_FI/**',
'fr_FR/**',
'he_IL/**',
'hr_HR/**',
'id_ID/**',

View File

@@ -0,0 +1,88 @@
import { fr_FR as localeData } from './strings'
const locale = "fr_FR";
const sidebar_troubleshooting = {
text: localeData.troubleshooting,
items: [
{ text: localeData.pages["common-issues-fixes"], link: `/common-issues-fixes` },
{ text: localeData.pages["recover-vwii-ioses-channels"], link: `/recover-vwii-ioses-channels` }
]
}
const sidebar_extras = {
text: localeData.extras,
items: [
{ text: localeData.pages["block-updates"], link: `/block-updates` },
{ text: localeData.pages["unblock-updates"], link: `/unblock-updates` },
{ text: localeData.pages["dump-games"], link: `/dump-games` },
{ text: localeData.pages["uninstall-cbhc"], link: `/uninstall-cbhc` },
{ text: localeData.pages["uninstall-indexiine"], link: `/uninstall-indexiine` },
{ text: localeData.pages["uninstall-payloadloader"], link: `/uninstall-payloadloader` }
]
}
const sidebar_common = {
text: localeData.other,
items: [
{ text: localeData.pages["about"], link: `/about` },
{ text: localeData.pages["donations"], link: `/donations` },
{ text: localeData.pages["hashes"], link: `/hashes` },
{ text: localeData.pages["privacy-policy"], link: `/privacy-policy` }
]
}
const themeConfig = {
langMenuLabel: localeData.langMenuLabel,
darkModeSwitchLabel: localeData.darkModeSwitchLabel,
darkModeSwitchTitle: localeData.darkModeSwitchTitle,
lightModeSwitchTitle: localeData.lightModeSwitchTitle,
sidebarMenuLabel: localeData.sidebarMenuLabel,
returnToTopLabel: localeData.returnToTopLabel,
nav: [
{ text: localeData.pages["faq"], link: `/faq` },
sidebar_troubleshooting,
sidebar_extras
],
sidebar: {
/*
The `/` path needs to be at the bottom as a catch all! If it is placed anywhere above,
it will select the first matching one and not parse the rest!
*/
[`/`]: [
{
text: localeData.guide,
items: [
{ text: localeData.pages["aroma/getting-started"], link: `/aroma/getting-started` },
{ text: localeData.pages["aroma/sd-preparation"], link: `/aroma/sd-preparation` },
{ text: localeData.pages["aroma/browser-exploit"], link: `/aroma/browser-exploit` },
{ text: localeData.pages["aroma/nand-backup"], link: `/aroma/nand-backup` },
{ text: localeData.pages["aroma/installing-payloadloader"], link: `/aroma/installing-payloadloader` },
{ text: localeData.pages["aroma/autobooting"], link: `/aroma/autobooting` },
{ text: localeData.pages["finalizing-setup"], link: `/aroma/finalizing-setup` }
]
},
sidebar_troubleshooting,
sidebar_extras,
sidebar_common
],
},
footer: {
copyright: 'Copyright © 2026 Nintendo Homebrew',
items: [
{ text: localeData.pages["about"], link: `/about` },
{ text: localeData.pages["donations"], link: `/donations` },
{ text: localeData.pages["privacy-policy"], link: `/privacy-policy` }
]
}
};
export default {
lang: "fr",
label: "French",
title: localeData.title,
description: localeData.description,
themeConfig: themeConfig
}

View File

@@ -1,5 +1,6 @@
import en_US from './en_US'
import hu_HU from './hu_HU'
import de_DE from './de_DE'
import fr_FR from './fr_FR'
export { en_US, hu_HU, de_DE }
export { en_US, hu_HU, de_DE, fr_FR }

View File

@@ -1,5 +1,6 @@
import en_US from './en_US' with { type: 'json' }
import hu_HU from './hu_HU' with { type: 'json' }
import de_DE from './de_DE' with { type: 'json' }
import fr_FR from './fr_FR' with { type: 'json' }
export { en_US, hu_HU, de_DE }
export { en_US, hu_HU, de_DE, fr_FR }

View File

@@ -41,6 +41,10 @@ All Homebrew applications are loaded from the Wii U Menu on Aroma.
Pretendo is a replacement service for the Nintendo Network, which brings back online services as they are now discontinued. It also revives the Miiverse service, via juxtaposition. The official guide can be found [here](https://pretendo.network/docs/install/wiiu).
## vWii Modding
The vWii is seperately modded from the Wii U side. If you want to mod the vWii, the guide can be found [here](https://wii.hacks.guide/vwii-homebrew-channel).
## Booting Tiramisu (optional)
::: warning