Skip to content

Conversation

@antcybersec
Copy link

  • Detect browser language using navigator.language
  • Convert to ISO6391 format using toISO6391 utility
  • Check if browser language is available in translation models
  • Set browser language as default 'To' language if available, otherwise fallback to English
  • Fixes issue Detect browser language and use for Translate plugin "To" language #1459
    here is the screenshot of the fix:
translate

- Detect browser language using navigator.language
- Convert to ISO6391 format using toISO6391 utility
- Check if browser language is available in translation models
- Set browser language as default 'To' language if available, otherwise fallback to English
- Fixes issue internetarchive#1459
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.

1 participant