feat(client): add "spanish (es)" language to i18n locales
This commit is contained in:
parent
9e2f22d878
commit
bf167f81a3
|
@ -39,6 +39,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||
- German (Deutsch)
|
||||
- Hindi (हिन्दी)
|
||||
- Kannada (ಕನ್ನಡ) (@aksh1251)
|
||||
- Spanish (Español) (@seba11998)
|
||||
- Tamil (தமிழ்)
|
||||
|
||||
Help by [translating Reactive Resume](https://translate.rxresu.me) to your language!
|
||||
|
|
|
@ -24,6 +24,11 @@ export const languages: Language[] = [
|
|||
name: 'Kannada',
|
||||
localName: 'ಕನ್ನಡ',
|
||||
},
|
||||
{
|
||||
code: 'es',
|
||||
name: 'Spanish',
|
||||
localName: 'Español',
|
||||
},
|
||||
{
|
||||
code: 'ta',
|
||||
name: 'Tamil',
|
||||
|
|
|
@ -3,7 +3,7 @@ const path = require('path');
|
|||
const i18nConfig = {
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['de', 'en', 'kn', 'ta', 'hi'],
|
||||
locales: ['de', 'en', 'es', 'kn', 'ta', 'hi'],
|
||||
},
|
||||
nsSeparator: '.',
|
||||
localePath: path.resolve('./public/locales'),
|
||||
|
|
|
@ -10,6 +10,7 @@ const DateWrapper: React.FC = ({ children }) => {
|
|||
dayjs.extend(relativeTime);
|
||||
|
||||
// Locales
|
||||
require('dayjs/locale/es');
|
||||
require('dayjs/locale/de');
|
||||
require('dayjs/locale/hi');
|
||||
require('dayjs/locale/kn');
|
||||
|
|
|
@ -44,7 +44,9 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||
|
||||
- English
|
||||
- German (Deutsch)
|
||||
- Hindi (हिन्दी)
|
||||
- Kannada (ಕನ್ನಡ) (@aksh1251)
|
||||
- Spanish (Español) (@seba11998)
|
||||
- Tamil (தமிழ்)
|
||||
|
||||
Help by [translating Reactive Resume](https://translate.rxresu.me) to your language!
|
||||
|
|
Loading…
Reference in New Issue