Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Conversation

@VictorGrycuk
Copy link
Contributor

Fix#3560

Purpose

What is the context of this pull request? Why is it being done?
MultiProviderAuthDialog login dialog only works with the fallback language. It should be able to localize it using the user's locale.

The dialog isadded in the constructor of MultiProviderAuthDialog, before the activity from the user is received, therefore the locale of the user is unknown at this moment.

This fix revolves around the idea of adding dialogs of known language beforehand, and then using the user locale to retrieve their specific locale's dialog.

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)

  • Overloads ResponseManager'sGetResponse to receive a specific locale instead of using theCurrentUICulture.
  • Adds a new method on MultiProviderAuthDialog to add a new login dialog for each configured locale

Tests

Is this covered by existing tests or new ones? If no, why not?

The MultiProviderAuthDialog localization working using a skill connected to a virtual assistant
localization working

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

- Allow ResponseManager to create a response using a specific locale- Make MultiProviderAuthDialog create a new auth dialog by eachconfigured locale
- Static readonly fields should begin with upper-case letter
@srinaath
Copy link

@lauren-mills could you take a look at this PR to close the ticket.

Copy link
Contributor

@lauren-millslauren-mills left a comment
edited
Loading

Choose a reason for hiding this comment

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

Are there any changes needed in the VA template to support these changes?

@VictorGrycuk
Copy link
ContributorAuthor

Hi@lauren-mills, there is no need to modify the templates 🙂.

@srinaath
Copy link

@ryanlengel Could we get another review on this PR to get it merged

ryanisgrig reacted with thumbs up emoji

@ryanisgrigryanisgrig merged commite0af29b intomicrosoft:masterFeb 5, 2021
@Batta32Batta32 deleted the feature/southworks/fix-MultiProviderAuthDialog-localization branchFebruary 19, 2021 17:44
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@darrenjdarrenjAwaiting requested review from darrenj

@lzc850612lzc850612Awaiting requested review from lzc850612

@pavolumpavolumAwaiting requested review from pavolum

@peterinnesmsftpeterinnesmsftAwaiting requested review from peterinnesmsft

@sidmoresidmoreAwaiting requested review from sidmore

@taicchoumsfttaicchoumsftAwaiting requested review from taicchoumsft

2 more reviewers

@lauren-millslauren-millslauren-mills approved these changes

@ryanisgrigryanisgrigryanisgrig approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

MultiProviderAuthDialog localization not working

4 participants

@VictorGrycuk@srinaath@lauren-mills@ryanisgrig

[8]ページ先頭

©2009-2025 Movatter.jp