Skip to content

Commit

Permalink
add farsi (#471)
Browse files Browse the repository at this point in the history
* add farsi

* more farsi

* Add more farsi translations

* Fix variable name

* [Fix] variables not showing info correctly

* more language fixes
grunch authored Feb 15, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent e2e89bd commit 1363a8d
Showing 3 changed files with 599 additions and 0 deletions.
593 changes: 593 additions & 0 deletions locales/fa.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions util/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const axios = require('axios');
const { I18n } = require('@grammyjs/i18n');
const currencies = require('./fiat.json');
// ISO 639-1 language codes
const languages = require('./languages.json');
const { Order, Community } = require('../models');
const { logger } = require('../logger');
5 changes: 5 additions & 0 deletions util/languages.json
Original file line number Diff line number Diff line change
@@ -43,5 +43,10 @@
"name": "한글",
"emoji": "🇰🇷",
"code": "ko"
},
"fa": {
"name": "فارسی",
"emoji": "🇮🇷",
"code": "fa"
}
}

0 comments on commit 1363a8d

Please sign in to comment.