Localization Issue
I followed your tutorial on Localization here.https://blazor.syncfusion.com/documentation/common/localization/#how-to-enable-localization-in-blazor-application
Attachment: Code_e818e7e4.zip
But SfResources is causing the error this line of code. BlazorApp3.Resources.SfResources.ResourceManager.
I have attched code file.
Attachment: Code_e818e7e4.zip
It seems the problem is that there is no designer file being generated when the modifier is made public.
This is the error.
Severity Code Description Project File Line Suppression State
Error Custom tool PublicResXFileCodeGenerator failed to produce an output for input file 'Resources\SfResources.en-GB.resx' but did not log a specific error. BlazorApp3 C:\Users\pjsta\source\repos\CT_CLOUD\BlazorApp3\Resources\SfResources.en-GB.resx 1
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
RN
Rahul Narayanasamy
Syncfusion Team
October 26, 2020 02:33 PM UTC
Hi Paul,
Greetings from Syncfusion.
Query: Localization Issue
We have validated your query and we might suspect that you are facing problem while applying localization. We have checked the problem at our end and we could not reproduce the problem. Here, we have prepared a sample for your reference.
If you are still facing the problem, then could you please share the below details. It will be helpful to validate and provide a better solution.
- Share your Syncfusion component code.
- Did you face the problem in any specific component or all the components?
- Share the resource file you are using at your end.
- Share the culture you are trying to apply.
Regards,
Rahul
Marked as answer
SZ
SZL
March 4, 2022 05:29 PM UTC
Hy, I have the same problem and find the solution:
Not enough to integrate only the lang specific resource file (for example SfResources.hu.resx) to Resources folder.
You need insert the SfResources.resx file too and you can generate the designer code only for this file (for the language specific files has no Designer codes).
RN
Rahul Narayanasamy
Syncfusion Team
March 7, 2022 05:35 AM UTC
Hi SZL,
Thanks for the update.
We are happy to hear that you have found the solution for the problem. Please get back to us if you need further assistance.
Regards,
Rahul
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
- Marked answer
-
PS paul stanley
- Oct 23, 2020 06:11 AM UTC
- Mar 7, 2022 05:35 AM UTC