feat(client): add "spanish (es)" language to i18n locales

This commit is contained in:
Amruth Pillai 2022-03-12 13:01:16 +01:00
parent 9e2f22d878
commit bf167f81a3
No known key found for this signature in database
GPG Key ID: E3C57DF9B80855AD
5 changed files with 10 additions and 1 deletions

View File

@ -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!

View File

@ -24,6 +24,11 @@ export const languages: Language[] = [
name: 'Kannada',
localName: 'ಕನ್ನಡ',
},
{
code: 'es',
name: 'Spanish',
localName: 'Español',
},
{
code: 'ta',
name: 'Tamil',

View File

@ -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'),

View File

@ -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');

View File

@ -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!