chore(frontend): set default locale to en
This commit is contained in:
parent
4693bc5737
commit
ad9468bbb6
2 changed files with 4 additions and 4 deletions
|
|
@ -10,8 +10,8 @@ import "./globals.css"
|
|||
import { Suspense } from "react"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "GoHorse Jobs - Encontre sua próxima oportunidade",
|
||||
description: "Conectamos candidatos e empresas de forma rápida e direta",
|
||||
title: "GoHorseJobs - Find your next opportunity",
|
||||
description: "Connecting candidates and companies quickly and directly",
|
||||
generator: "v0.app",
|
||||
icons: {
|
||||
icon: "/logohorse.png",
|
||||
|
|
@ -26,7 +26,7 @@ export default function RootLayout({
|
|||
children: React.ReactNode
|
||||
}>) {
|
||||
return (
|
||||
<html lang="pt-BR">
|
||||
<html lang="en">
|
||||
<body className={`font-sans ${GeistSans.variable} ${GeistMono.variable} antialiased`}>
|
||||
<I18nProvider>
|
||||
<NotificationProvider>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ const dictionaries: Record<Locale, typeof en> = {
|
|||
const I18nContext = createContext<I18nContextType | null>(null);
|
||||
|
||||
export function I18nProvider({ children }: { children: ReactNode }) {
|
||||
const [locale, setLocale] = useState<Locale>('pt-BR');
|
||||
const [locale, setLocale] = useState<Locale>('en');
|
||||
|
||||
const t = useCallback((key: string, params?: Record<string, string | number>): string => {
|
||||
const keys = key.split('.');
|
||||
|
|
|
|||
Loading…
Reference in a new issue