chenejac / VIVOTestMigrationJIRA

0 stars 0 forks source link

VIVO-1955: i18n: Error messages not displayed in correct language if locale changed #1844

Open chenejac opened 3 years ago

chenejac commented 3 years ago

Benjamin Gross (Migrated from VIVO-1955) said:

As raised in https://jira.lyrasis.org/browse/VIVO-1798 . See [https://github.com/vivo-project/VIVO/pull/207] for screenshots displaying issue. 

 

If you change language locales after 'entering' a form page, the i18 strings are all wonky even if you refresh the page. Change contexts while on the form page, then resubmitting the form potentially makes the situation worse. I managed to get 3 different languages (see screenshot) within one bunch of error messages! 

If you 'enter' the form in the context you ultimately want to use, then I don't see any issues.