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

Added Dart 3.0 compatibilty, implemented custom translations #12

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

Conversation

FredrikBorgstrom
Copy link
Contributor

If a translation by Google is incorrect or less suitable, you can override it by adding an 'x-translations' attribute and then specify your own translation for any specified language code. For instance, overriding the Swedish translation of the word "Continue" to "Fortsätt" would be done like this:

"continue_": "Continue",
"@continue_": {
  "description": "custom translations",
  "x-translations": {
    "sv": "Fortsätt"
  }
}

Copy link
Owner

@justkawal justkawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github Actions failing, I think its a dependency issue....

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.

2 participants