feat(i18n): add Bengali, Italian and other languages
This commit is contained in:
parent
ed75a85827
commit
21931bc324
|
@ -36,11 +36,14 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||
|
||||
## Languages
|
||||
|
||||
- Bengali (বাংলা)
|
||||
- English
|
||||
- French (Français)
|
||||
- German (Deutsch)
|
||||
- Hindi (हिन्दी)
|
||||
- Kannada (ಕನ್ನಡ) (@aksh1251)
|
||||
- Spanish (Español) (@seba11998)
|
||||
- Italian (Italiano)
|
||||
- Kannada (ಕನ್ನಡ)
|
||||
- Spanish (Español)
|
||||
- Tamil (தமிழ்)
|
||||
|
||||
Help by [translating Reactive Resume](https://translate.rxresu.me) to your language!
|
||||
|
|
|
@ -5,10 +5,20 @@ export type Language = {
|
|||
};
|
||||
|
||||
export const languages: Language[] = [
|
||||
{
|
||||
code: 'bn',
|
||||
name: 'Bengali',
|
||||
localName: 'বাংলা',
|
||||
},
|
||||
{
|
||||
code: 'en',
|
||||
name: 'English',
|
||||
},
|
||||
{
|
||||
code: 'fr',
|
||||
name: 'French',
|
||||
localName: 'Français',
|
||||
},
|
||||
{
|
||||
code: 'de',
|
||||
name: 'German',
|
||||
|
@ -19,6 +29,11 @@ export const languages: Language[] = [
|
|||
name: 'Hindi',
|
||||
localName: 'हिन्दी',
|
||||
},
|
||||
{
|
||||
code: 'it',
|
||||
name: 'Italian',
|
||||
localName: 'Italiano',
|
||||
},
|
||||
{
|
||||
code: 'kn',
|
||||
name: 'Kannada',
|
||||
|
|
|
@ -3,7 +3,7 @@ const path = require('path');
|
|||
const i18nConfig = {
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['de', 'en', 'es', 'kn', 'ta', 'hi'],
|
||||
locales: ['bn', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'ta'],
|
||||
},
|
||||
nsSeparator: '.',
|
||||
localePath: path.resolve('./public/locales'),
|
||||
|
|
|
@ -10,9 +10,13 @@ const DateWrapper: React.FC = ({ children }) => {
|
|||
dayjs.extend(relativeTime);
|
||||
|
||||
// Locales
|
||||
require('dayjs/locale/es');
|
||||
require('dayjs/locale/bn');
|
||||
require('dayjs/locale/de');
|
||||
require('dayjs/locale/en');
|
||||
require('dayjs/locale/es');
|
||||
require('dayjs/locale/fr');
|
||||
require('dayjs/locale/hi');
|
||||
require('dayjs/locale/it');
|
||||
require('dayjs/locale/kn');
|
||||
require('dayjs/locale/ta');
|
||||
|
||||
|
|
|
@ -43,11 +43,14 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||
|
||||
## Languages
|
||||
|
||||
- Bengali (বাংলা)
|
||||
- English
|
||||
- French (Français)
|
||||
- German (Deutsch)
|
||||
- Hindi (हिन्दी)
|
||||
- Kannada (ಕನ್ನಡ) (@aksh1251)
|
||||
- Spanish (Español) (@seba11998)
|
||||
- Italian (Italiano)
|
||||
- Kannada (ಕನ್ನಡ)
|
||||
- Spanish (Español)
|
||||
- Tamil (தமிழ்)
|
||||
|
||||
Help by [translating Reactive Resume](https://translate.rxresu.me) to your language!
|
||||
|
|
Loading…
Reference in New Issue