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

Cannot retrieve localized string when key contains a dot #681

Closed
1 of 10 tasks
fperreaultnv opened this issue Aug 29, 2022 · 0 comments
Closed
1 of 10 tasks

Cannot retrieve localized string when key contains a dot #681

fperreaultnv opened this issue Aug 29, 2022 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@fperreaultnv
Copy link

fperreaultnv commented Aug 29, 2022

Current behavior

When injecting IStringLocalizer in a VM, trying to retrieve a localized string where the key contains a dot results in a resource not found.

Expected behavior

The localized string is retrieve no matter what the key is.

How to reproduce it (as minimally and precisely as possible)

Base uno template is enough to repro

Environment

Nuget Package:

Package Version(s):

Affected platform(s):

I only checked windows.

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renders for Xamarin.Forms
  • Windows
  • Build tasks

Visual Studio:

  • 2017 (version: )
  • 2019 (version: )
  • 2022 (version: 17.2.6)
  • for Mac (version: )

Anything else we need to know?

No

@fperreaultnv fperreaultnv added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Aug 29, 2022
@fperreaultnv fperreaultnv changed the title Cannot retrieve localized string when key contains a dot (.) Cannot retrieve localized string when key contains a dot Aug 30, 2022
@nickrandolph nickrandolph self-assigned this Mar 7, 2023
@nickrandolph nickrandolph removed the triage/untriaged Indicates an issue requires triaging or verification. label Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants