Localization issue

Hi
I obtain two errors when I use SfRessources.fr.resx in a Blazor Server Side web application. First, Visual Studio show an error with PublicResXFileCodeGenerator when I apply "public" on "Access Modifier". Second, when I run application I obtain an error :

I obtain this error only if SfRessources.fr.resx is present in the project or if I rename SfRessources.fr.resx to SfRessources.resx.
For information I followed the instructions from this page:
Have you a sample for a server-side only Blazor Application whith localization (with French if possible) ?

3 Replies

FF Frederic FOURGEOT May 20, 2020 03:57 PM UTC

Additionally, I've problem with GLOBALIZATION with  SfNumericTextBox.

<div class="form-group">

     <SfNumericTextBox ID="montantHT" Placeholder="Montant HT" FloatLabelType="@FloatLabelType.Always" Locale="fr" @bind-Value="Model.MontantHT" />

</div>

Locale "fr" is applicated when page is loaded, but when I leave control another locale is applyed. 

Good and when page is just loaded


In the control


After control leaved







FF Frederic FOURGEOT May 20, 2020 04:02 PM UTC

I found the error in your SfResources.fr.resx.


If I remove "s, there is no more errors when I run the application. But I've always a problem with Locale and SfNumericTextBox


JA Jesus Arockia Sankaran S Syncfusion Team May 21, 2020 02:30 PM UTC

Hi Frederic, 

Thank you for contacting Syncfusion support.  

Query: Script error from SfResources.fr.resx 

We have corrected the mistake in the resource file it will be refreshed in GitHub with our upcoming Volume 2, 2020 release scheduled at the end of June. Until then, we request you to use the below updated resource file.  


Query: Culture formatting issue in NumericTextBox component 

We were able to reproduce the issue “Wrong format applied while focus lost in NumericTextBox component” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below. 


The fix will be available in our upcoming Volume 2, 2020 release which is scheduled to be rolled out at the end of June.  If you have any more specification/precise replication procedure or a scenario to be tested you can add it as a comment in the portal. 

Please get back to us if you need any further assistance on this. 

Regards, 
Jesus Arockia Sankaran S 



Loader.
Up arrow icon