Add translate dialog for users with other languages

This commit is contained in:
Ben Grant 2023-05-24 20:56:04 +10:00
parent 00c7ae16f2
commit d7971d27df
8 changed files with 57 additions and 150 deletions

View file

@ -2,6 +2,7 @@ import { Metadata } from 'next'
import Egg from '/src/components/Egg/Egg'
import Settings from '/src/components/Settings/Settings'
import TranslateDialog from '/src/components/TranslateDialog/TranslateDialog'
import { fallbackLng } from '/src/i18n/options'
import { useTranslation } from '/src/i18n/server'
@ -33,6 +34,7 @@ const RootLayout = async ({ children }: { children: React.ReactNode }) => {
<Settings />
{children}
<Egg />
<TranslateDialog />
</body>
</html>
}