We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to get a list of supported/currently set languages? I'm thinking programatically, like:
import langid print(langid.get_languages() >>> ['af', 'am', 'an', 'ar', 'as', 'az', 'be', 'bg', 'bn', 'br', 'bs', 'ca', 'cs', 'cy', 'da', 'de', 'dz', 'el', 'en', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fo', 'fr', 'ga', 'gl', 'gu', 'he', 'hi', 'hr', 'ht', 'hu', 'hy', 'id', 'is', 'it', 'ja', 'jv', 'ka', 'kk', 'km', 'kn', 'ko', 'ku', 'ky', 'la', 'lb', 'lo', 'lt', 'lv', 'mg', 'mk', 'ml', 'mn', 'mr', 'ms', 'mt', 'nb', 'ne', 'nl', 'nn', 'no', 'oc', 'or', 'pa', 'pl', 'ps', 'pt', 'qu', 'ro', 'ru', 'rw', 'se', 'si', 'sk', 'sl', 'sq', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tl', 'tr', 'ug', 'uk', 'ur', 'vi', 'vo', 'wa', 'xh', 'zh', 'zu']
I think this can be convenient. (Looking into the source code, in particular for set_languages(), I reach a dead end in the embedded blob in https://github.com/saffsd/langid.py/blob/master/langid/langid.py)
set_languages()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there a way to get a list of supported/currently set languages?
I'm thinking programatically, like:
I think this can be convenient.
(Looking into the source code, in particular for
set_languages()
, I reach a dead end in the embedded blob in https://github.com/saffsd/langid.py/blob/master/langid/langid.py)The text was updated successfully, but these errors were encountered: