Skip to content

Commit bf167f8

Browse files
committed
feat(client): add "spanish (es)" language to i18n locales
1 parent 9e2f22d commit bf167f8

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ You have complete control over what goes into your resume, how it looks, what co
3939
- German (Deutsch)
4040
- Hindi (हिन्दी)
4141
- Kannada (ಕನ್ನಡ) (@aksh1251)
42+
- Spanish (Español) (@seba11998)
4243
- Tamil (தமிழ்)
4344

4445
Help by [translating Reactive Resume](https://translate.rxresu.me) to your language!

client/config/languages.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export const languages: Language[] = [
2424
name: 'Kannada',
2525
localName: 'ಕನ್ನಡ',
2626
},
27+
{
28+
code: 'es',
29+
name: 'Spanish',
30+
localName: 'Español',
31+
},
2732
{
2833
code: 'ta',
2934
name: 'Tamil',

client/next-i18next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path');
33
const i18nConfig = {
44
i18n: {
55
defaultLocale: 'en',
6-
locales: ['de', 'en', 'kn', 'ta', 'hi'],
6+
locales: ['de', 'en', 'es', 'kn', 'ta', 'hi'],
77
},
88
nsSeparator: '.',
99
localePath: path.resolve('./public/locales'),

client/wrappers/DateWrapper.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const DateWrapper: React.FC = ({ children }) => {
1010
dayjs.extend(relativeTime);
1111

1212
// Locales
13+
require('dayjs/locale/es');
1314
require('dayjs/locale/de');
1415
require('dayjs/locale/hi');
1516
require('dayjs/locale/kn');

docs/docs/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ You have complete control over what goes into your resume, how it looks, what co
4444

4545
- English
4646
- German (Deutsch)
47+
- Hindi (हिन्दी)
4748
- Kannada (ಕನ್ನಡ) (@aksh1251)
49+
- Spanish (Español) (@seba11998)
4850
- Tamil (தமிழ்)
4951

5052
Help by [translating Reactive Resume](https://translate.rxresu.me) to your language!

0 commit comments

Comments
 (0)