Files
modstagram-back/utils/appLanguages.js
payacom 3f416a7a60 full
2026-08-31 20:45:41 +03:30

11 lines
469 B
JavaScript

/** Mirrors the language codes registered in modstagram-next/src/lib/i18n/registry.ts.
* Kept in sync manually — update both when a language is added/removed. */
const APP_LANGUAGE_CODES = [
'fa', 'en', 'ar', 'ku', 'tr', 'az', 'ru', 'uk', 'es', 'ro',
'sk', 'pl', 'hu', 'hr', 'sr', 'el', 'sv', 'de', 'it', 'hi',
'bn', 'th', 'ms', 'tl', 'fr', 'nl', 'no', 'fi', 'ps', 'uz',
'hy', 'zh-CN', 'zh-TW', 'zh-HK', 'ja', 'ko'
]
module.exports = { APP_LANGUAGE_CODES }