Skip to content

Commit

Permalink
add persian language (epicmaxco#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4rifi authored Mar 17, 2020
1 parent 568c6d7 commit f65f96a
Show file tree
Hide file tree
Showing 4 changed files with 515 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export default {
code: 'cn',
name: 'simplified_chinese',
},
{
code: 'ir',
name: 'persian',
},
],
},
},
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@
"brazilian_portuguese": "Português",
"english": "English",
"spanish": "Spanish",
"simplified_chinese": "Simplified Chinese"
"simplified_chinese": "Simplified Chinese",
"persian": "Persian"
},
"menu": {
"auth": "Auth",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Vue.i18n.add('br', require('./pt_br.json'))
Vue.i18n.add('en', require('./en.json'))
Vue.i18n.add('es', require('./es.json'))
Vue.i18n.add('cn', require('./cn.json'))
Vue.i18n.add('ir', require('./ir.json'))

// set the start locale to use
Vue.i18n.set('en')
Expand Down
Loading

0 comments on commit f65f96a

Please sign in to comment.