feat: add i18n

This commit is contained in:
Methapon2001 2024-04-10 17:22:54 +07:00
parent 2fb2c3bc3d
commit c2d7e1f9c5
6 changed files with 16 additions and 0 deletions

View file

@ -1,4 +1,5 @@
export default {
address: 'Address',
province: 'Province',
district: 'District',
subDistrict: 'Sub-district',

View file

@ -6,6 +6,7 @@ import branchMainPage from './branch-main-page';
import personnelMainPage from './personnel-main-page';
import address from './address';
import branch from './branch';
import user from './user';
export default {
ok: 'Confirm',
@ -20,6 +21,7 @@ export default {
...main,
...address,
...branch,
...user,
...drawerComponent,
...branchMainPage,
...personnelMainPage,

5
src/i18n/en-US/user.ts Normal file
View file

@ -0,0 +1,5 @@
export default {
firstname: 'First Name',
lastname: 'Last Name',
fullname: 'Full Name',
};

View file

@ -1,4 +1,5 @@
export default {
address: 'ที่อยู่',
province: 'จังหวัด',
district: 'อำเภอ',
subDistrict: 'ตำบล',

View file

@ -4,6 +4,7 @@ import branchMainPage from './branch-main-page';
import personnelMainPage from './personnel-main-page';
import address from './address';
import branch from './branch';
import user from './user';
export default {
ok: 'ยืนยัน',
@ -18,6 +19,7 @@ export default {
...main,
...address,
...branch,
...user,
...drawerComponent,
...branchMainPage,
...personnelMainPage,

5
src/i18n/th-th/user.ts Normal file
View file

@ -0,0 +1,5 @@
export default {
firstname: 'ชื่อ',
lastname: 'นามสกุล',
fullname: 'ชื่อ-นามสกุล',
};