dotnet / ResXResourceManager

Manage localization of all ResX-Based resources in one central place.
MIT License
1.29k stars 210 forks source link

Keys from resources not added #509

Closed marcoahp closed 1 year ago

marcoahp commented 1 year ago

I use ResX Manager perfectly in a solution. Thanks for you effort, it is great. But when I try tu use in other solutions, I open ResX Manager and the resources are listed, but without any key. What I'm doing wrong? I send you the image of working ok project and failing project. This is ok: ResX_ok This is failing ResX_fail

This is my output: ResX Resource Manager loaded. Home: https://github.com/dotnet/ResXResourceManager Report issues: https://github.com/dotnet/ResXResourceManager/issues Support the project by adding a short review: https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager#review-details Assembly location: c:\users\marco\appdata\local\microsoft\visualstudio\16.0_b1dbf80d\extensions\l2t302dl.2wd Version: 1.70.5426.0 .NET Framework Version: 528372 (https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed) Switch.System.Windows.Baml2006.AppendLocalAssemblyVersionForSourceUri=False (https://github.com/Microsoft/dotnet/blob/master/releases/net472/dotnet472-changes.md#wpf)

Thanks

tom-englert commented 1 year ago

In the second image all projects start with a backslash. However since there is no error reported in the log, I can't tell much without seeing the whole solution.

marcoahp commented 1 year ago

In the second image all projects start with a backslash. However since there is no error reported in the log, I can't tell much without seeing the whole solution.

Yes, this is because the code files are in the same folder I think. I've created a new project with a form and a button. Then I open ResX manager, and the caption of the button do not appear in the key list of the form. Am I missing something? Could you test this to se if it works for you?

tom-englert commented 1 year ago

Did you set the form to localizable?

marcoahp commented 1 year ago

Omg, I forgot it. Thanks

De: tom-englert @.> Enviado el: viernes, 18 de noviembre de 2022 18:53 Para: dotnet/ResXResourceManager @.> CC: marcoahp @.>; Author @.> Asunto: Re: [dotnet/ResXResourceManager] Keys from resources not added (Issue #509)

Did you set the form to localizable?

— Reply to this email directly, view it on GitHub https://github.com/dotnet/ResXResourceManager/issues/509#issuecomment-1320345352 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3J4T5E362CAYCW7SRN62TWI667VANCNFSM6AAAAAASEO3LUI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AL3J4TZQJ5TKOAILA6IDY5TWI667VA5CNFSM6AAAAAASEO3LUKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSOWLPQQ.gif Message ID: @. @.> >