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

As a digitiser I want to be able to choose the language I want to use so that I can understand the information in Georg. #110

Open
6 tasks
Tracked by #63
lisasund opened this issue Nov 11, 2020 · 3 comments
Assignees
Labels
Type: User story A feature/functionality request that is used in sprint planning
Milestone

Comments

@lisasund
Copy link
Contributor

lisasund commented Nov 11, 2020

User story

As a digitiser I want to be able to choose the language I want to use so that I can understand the information in Georg.

Acceptance criteria

  • The user can change the language by a button/link in the UI.

Sprint Ready Checklist

    • Acceptance criteria defined
    • Team understands acceptance criteria
    • Team has defined solution / steps to satisfy acceptance criteria
    • Acceptance criteria is verifiable / testable
    • External / 3rd Party dependencies identified

#Design suggestion

Button for switching language placed to the right in footer

Language button in footer

A dialog opens when button is clicked

Language dialog open (Swedish current)

User chooses language from select list

Language select

After selecting "English" and pressing "OK", the site language changes, including footer language button text

Footer - English selected

The language dialog text is in the current language until changed (byt clicking "OK")

Language dialog (English current)

@lisasund lisasund added the Type: User story A feature/functionality request that is used in sprint planning label Nov 11, 2020
@lisasund
Copy link
Contributor Author

@idali0226 Remember to set the correct HTML lang attribute when language is switched! (See for example https://developer.paciellogroup.com/blog/2016/06/using-the-html-lang-attribute/)

@lisasund
Copy link
Contributor Author

lisasund commented Nov 20, 2020

@idali0226 I made it easy for myself and added design suggestions as images in this issue directly. I have some vue code template for it as well (without any actual language change of course), see this branch: https://github.com/Naturhistoriska/Georg/tree/lisa/design-language-switch

@lisasund
Copy link
Contributor Author

I updated the example code with filled style for select input (since that is the standard we use).
Correct select list appeaerance

@lisasund lisasund added this to the Sprint 9 milestone Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: User story A feature/functionality request that is used in sprint planning
Projects
None yet
Development

No branches or pull requests

2 participants