Skip to content
New issue

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

Add Support for Fetching List of Supported Languages in Translator Pa… #70

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DabhiNavaghan
Copy link

This pull request introduces a new feature to the Flutter Translator package: the ability to retrieve a list of supported languages. By implementing this feature, users gain access to a comprehensive list of languages supported for translation directly from the Translator API. This enhancement enhances the package's versatility and user-friendliness.

The implementation involves adding a method or function within the package that interacts with the Translator API to fetch the list of supported languages. Once integrated, users can programmatically access this list, enabling them to make well-informed decisions when selecting languages for translation within their applications.

This contribution aims to streamline the development process for Flutter applications requiring language translation capabilities. By improving an existing package, we align with the principles of open-source collaboration, benefitting the broader Flutter community.

Usage

There is getLanguages() method that returns List of supported languages and code

List<Language> languageList = LanguageList().getLanguages();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant