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

FAT-130 FAT-119 FAT-129 Multiple prompts for changing device language #742

Merged

Conversation

grsoares21
Copy link
Contributor

@grsoares21 grsoares21 commented Jul 26, 2022

📝 Description

This PR adds a prompt suggesting to the user to change their device language to match when they change their Live language.
The conditions for this prompt to appear are:

  • The new Live language is different the language of the last connected device
  • Last connected device supports localization
  • New Live language is available for the last connected device

This PR also adds an extra step on the firmware update for the user to change their device language.
It will either:

  • Propose to the user to change their device language if the current Live's language becomes available for the device for the first time right after the update
  • Automatically reinstall a language on the device after the update in case the device already had a language other than English installed prior to the update (since the language packs are erased during the update)

❓ Context

FAT-130 FAT-119 FAT-129

✅ Checklist

  • Test coverage
  • Atomic delivery
  • No breaking changes

📸 Demo

Prompt on live language change
https://user-images.githubusercontent.com/6013294/181006335-276f7144-a7b0-4760-b2df-847fe0b3f0a3.mp4

Prompt on firmware update
https://user-images.githubusercontent.com/6013294/181791753-4ce32a92-03a0-4c40-9392-3ae8defc9b8e.mov

Reinstall language after firmware update
https://user-images.githubusercontent.com/6013294/184406655-250ce80b-21fb-44d9-a061-3d0e9c865530.mp4

🚀 Expectations to reach

@vercel
Copy link

vercel bot commented Jul 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
live-common-tools ✅ Ready (Inspect) Visit Preview Sep 16, 2022 at 2:47PM (UTC)
3 Ignored Deployments
Name Status Preview Updated
ledger-live-github-bot ⬜️ Ignored (Inspect) Sep 16, 2022 at 2:47PM (UTC)
native-ui-storybook ⬜️ Ignored (Inspect) Sep 16, 2022 at 2:47PM (UTC)
react-ui-storybook ⬜️ Ignored (Inspect) Sep 16, 2022 at 2:47PM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Jul 26, 2022

🦋 Changeset detected

Latest commit: b9f2d74

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@ledgerhq/native-ui Minor
@ledgerhq/live-cli Minor
@ledgerhq/live-common Minor
live-mobile Minor
ledger-live-desktop Patch
live-common-tools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added cli common Has changes in live-common ledgerjs Has changes in the ledgerjs open source libs mobile Has changes in LLM translations Translation files have been touched ui Has changes in the design system library labels Jul 26, 2022
@grsoares21 grsoares21 merged commit 56068b8 into develop Sep 19, 2022
@grsoares21 grsoares21 deleted the feat/FAT-130-prompt-language-change-after-live-language-change branch September 19, 2022 07:48
grsoares21 added a commit that referenced this pull request Sep 19, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Sep 20, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 3, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 3, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 6, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 6, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 11, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 11, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
grsoares21 added a commit that referenced this pull request Oct 12, 2022
…#742)

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-130 Extract language device action to be reused

* FAT-120 WIP Prep work for recognizing the potential device language change

* FAT-130 Trigger device language change from live language change flow

* FAT-130 formatting + feature flag placeholder

* FAT-130 Add changeset

* FAT-119 WIP: initial implementation for the language prompt when updating the firmware

* FAT-119 Improve prompt wording + prompt whenever language is available for the 1st time

* FAT-119 Fix logic for when language is available for the first time

* FAT-119 Replace Divider by the one from the design system

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-130 fix wrong imports

* FAT-119 Fix imports

* FAT-129 First attempt at reinstalling language after update

* FAT-129 Refresh device info in the manager when the language changes

* FAT-129 WIP failed attempt at reinstall language with some tips

* FAT-119 Split change language action and change language modal

* LIVE-542 Add full device action logic for device localization

* LIVE-542 Add changelog

* LIVE-542 Fix linting

* LIVE-542 Check if it's osu before getting extra info from getVersion

* LIVE-542 Add version and model checks for parsing getVersion data

* LIVE-542 Fix version check for the experimental firmware

* FAT-127 Add device language component that displays only if supported

* FAT-127 Implemlent language selection screen UI

* FAT-127 Remove useless console.log

* FAT-127 First working version of the installation flow

* FAT-127 Add new unit tests for getDeviceInfo

* FAT-127 Refresh language after installation + disable button when selected lang is the current one

* FAT-127 Fix unit test name

* FAT-127 Remove useless change in comment place

* FAT-127 Hide language setting under feature flag

* FAT-127 Fix linting

* FAT-127 Add changeset for mobile

* FAT-127 Fix linting

* FAT-127 Pre-filter available languages for device on manager api

* FAT-127 Fix endless installation of languages

* FAT-127 Move device version retrieval to inside manager api

* FAT-127 Fix untranslated string

* FAT-127 Treat special case for english inside the command

* FAT-127 Retrieve available languages for device

* FAT-127 Move divider to design system repo

* FAT-126 Add missing dependency to useCallback hook

* FAT-127 Move useAvailableLanguagesForDevice hook to manager folder

* FAT-127 Fix typo and deprecated observable creation

* FAT-127 Temporarily enable device localization feature flag

* FAT-127 Correctly enable the localization feature flag

* FAT-127 Fix typo in function name

* FAT-127 Minor code improvements

* FAT-127 Extract attemptToQuitApp to common place

* FAT-127 Use identifytargetid instead of hardcoded table

* FAT-127 Fix bug in supported target id identification

* FAT-127 Fix bug where device doesn't quit app before installing language

* FAT-127 Add translations for custom errors

* FAT-127 Fix font weight on successful language install message

* FAT-127 Fix hidden device action modal bug on iOS

* FAT-127 Disable language button when installing apps

* FAT-127 Reactivate the use of the devicelocalization feature flag

* FAT-127 Add changeset for UI lib

* FAT-127 Support for lo4 test firmware + use of prod URLs

* FAT-127 Remove left over console.log

* FAT-127 Fix types libraries references

* FAT-127 Fix linting

* FAT-127 Update type docs

* FAT-127 Fix linting

* FAT-127 Fix linting

* FAT-127 Activate feature flag for QA

* FAT-127 Reactivate feature flag and remove left-over comment

* FAT-119 Finish up implementation of the reinstall after update feature

* FAT-130 Fix linting

* FAT-127 fix pnpm lock

* FAT-127 Update supported firmware versions

* FAT-130 Add new localization firmware and fix double modal on prompt

* FAT-130 Don't show device language prompt when there's no change to the language

* FAT-130 Remove left-over console.log

* FAT-130 fix bug on language reinstallation after fw update

* FAT-130 Refresh device info after language

* FAT-130 Refresh device language when an error occurs

* FAT-130 Refresh device info after firwmare update

* FAT-130 Prevent backdrop click on prompt while language is installing

* FAT-130 Update pnpm-lock

* FAT-130 Update pnpm-lock

* FAT-130 Add device localization feature flag to the edit tool

* FAT-130 Fix pnpm-lock file

* FAT-253 Analytics for device localization (#947)

* FAT-253 Add events to changing device language from the manager

* FAT-253 Add device language to common analytics properties

* FAT-253 Fix bug on language installed tracking

* FAT-253 Add tracking events to live language prompt

* FAT-253 Add tracking events to device language changes on fw update

* FAT-253 Add tracking to device language installation errors

* FAT-130 Fix crash on live language change prompt

* FAT-130 Fix deviceLanguage on analytics events

* FAT-130 Add RC firmware versions to the supported list

* FAT-130 Add link to 'learn more' button

* FAT-130 Fix multiple linting issues

* FAT-130 Fix linting

* FAT-371 Integrate design and wording feedbacks

* FAT-130 Update lock file

* FAT-130 Increase bluetooth time out to 60s

* FAT-130 Fix prettier

* FAT-130 Change device polling time out to 30s

* FAT-130 Fix prettier

* FAT-130 Fix linting

* FAT-130 Fix copy updates

* FAT-130 Fix font on language selection menu title

* FAT-130 Reactivate feature flag checks

* Smartling translations are completed for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1085)

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was translated to ja-JP locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was translated to ja-JP locale

* FAT-130 Remove desktop i18n changes

* FAT-130 Remove unrelated changes

Co-authored-by: Gabriel Soares <[email protected]>

* Smartling translations are updated for PR#742 from feat/FAT-130-prompt-language-change-after-live-language-change (#1124)

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ru-RU locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on de-DE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ko-KR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on pt-BR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on es-ES locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on tr-TR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ar-AE locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on fr-FR locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on zh-CN locale

* File apps/ledger-live-desktop/static/i18n/en/app.json was updated on ja-JP locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ru-RU locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on de-DE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ko-KR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on pt-BR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on es-ES locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on tr-TR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ar-AE locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on fr-FR locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on zh-CN locale

* File apps/ledger-live-mobile/src/locales/en/common.json was updated on ja-JP locale

* FAT-130 remove unrelated locale changes

Co-authored-by: Gabriel Soares <[email protected]>

* FAT-130 Add devicelocalization featureId

* FAT-130 Fix linting

* FAT-130 Update docs

* FAT-130 Update translations

* FAT-130 Remove left-over trailing spaces

* FAT-130 Update LJS docs

Co-authored-by: Ledger Live <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Has changes in live-common ledgerjs Has changes in the ledgerjs open source libs mobile Has changes in LLM translations Translation files have been touched
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants