1,454 questions
1
vote
0
answers
167
views
Localization in ".NET MAUI Blazor Hybrid and Web App" not working
I am working with MAUI & Blazor and have 3 projects in my solution:
App (MAUI hosting a Blazor view)
App.Shared
App.Web (Blazor web)
I am having issues getting localization to work in this ...
0
votes
0
answers
48
views
Can I apply different .textlintrc.json to different directory under the same workplace in VSCode?
I have my own tech blog made by Hugo, which supports multiple languages. And each of the directories for the posts are like:
content\ch\posts
content\ja\posts
content\en\posts
And I write the posts ...
5
votes
2
answers
855
views
Date format culture differences with .NET 4.8 and .NET 8 [duplicate]
I have this bit of code and when running in .NET 4.8 gives a different result than .NET 8
var cultureInfo = CultureInfo.CreateSpecificCulture("ar-KW");
var date = new DateTime(2024, 10, 12)...
3
votes
1
answer
69
views
Detecting System Locale Change in C#
I'm hooking into SystemEvents.UserPreferenceChanged event in a WPF application to detect when the user changes the regional format. I'm then attempting to determine the new region (CultureInfo) by ...
0
votes
2
answers
97
views
Globalization of ASP.NET Core 6 MVC application
I have developed an ASP.NET Core 6 MVC application with globalization, I've created the role folder structure for Views/Controller/ViewModels .resx for each language.
While debugging running on IIS ...
0
votes
0
answers
30
views
C# WPFLocalizeExtension only showing default Strings.resx
I tried using WPFLocalizeExtension and only the default Strings.resx and sometimes the last modified one is shown. Please help me to get back on track! I will attach a .zip of my folder. Thank you for ...
0
votes
0
answers
32
views
How to handle length changes due to normalization (NFKC for my use-case)?
Normalization does not always result in a 1-1 mapping of characters. Characters like 'fi' will break into 'fi' and some Japanese/Chinese characters can combine into a single character. I need a way to ...
1
vote
1
answer
250
views
How to handle decimal input values in a globalized MVC app
Currently trying to rework a .NET 4.8 MVC application to support globalization (needs to support both English and French). So far, everything has been working fine.
The issue, however, is with decimal ...
1
vote
0
answers
123
views
Can We Generate Resource.resx and its Designer.cs Files in .NET Core Using Visual Studio Code?
Is it Possible to Create a Resource.resx File and Its Corresponding Designer.cs File in .NET Core Using Visual Studio Code?
I attempted to create a Resource.resx file by installing the ResX Viewer and ...
2
votes
0
answers
126
views
How to use a separate assembly DLL for localization resources in Blazor server application (in .NET Core 7)?
I have a Blazor server application in which I'm trying to add localization support. I want to create a separate assembly DLL to store string resources, my goal is to make this DLL usable across ...
0
votes
1
answer
150
views
right-to-left text (like Hebrew)
On c#. Winforms. whenever I try to write Parenthesis in text-box in Hebrew\Arabic, they get inverted
and are on the other side of the text ( right when they should be on the left).
I tried these ...
0
votes
3
answers
176
views
How to apply AppLocalizations on lists in Flutter?
Please translate my list of strings by using applocalizations on flutter. I am facing problem with lists but it is working correctly for my single strings by using this line of code "...
0
votes
0
answers
263
views
GetGeoInfo - get country names in different languages
I'm trying to get a list of countries in a handful of different languages. The issue I've got is that I also need to match these to the GeoId from Windows, which can be found in this list.
I've been ...
0
votes
1
answer
61
views
UWP app UI elements not getting localized
I need to localize my UWP application to German language.I am maintaining two resource files for English and German. I have added a button as follow.
<Button
...
0
votes
0
answers
92
views
Localization not functioning correctly after deploying Blazor application on Azure
I have implemented localization in my Blazor application using Visual Studio 2022. On my local machine, everything works perfectly, but when I deploy the application on Azure, the localization ...
1
vote
0
answers
67
views
How can I change the AM/PM display to be in Spanish (Mexico) in a Xamarin Forms TimePicker?
I have a TimePicker in my Xamarin.Forms application which displays the time, but shows AM and PM using capitalized format. I believe in es-mx globalization, this should appear as "a.m." and &...
1
vote
1
answer
196
views
How to detect location more intelligently in Nginx config file?
I'm trying to use location to detect the current locale and transfer (rewrite) the request in my Nginx config file.
This is a my configuration:
location /ru
{
rewrite ^/ru/(.*)$ /$1?local=ru;
...
0
votes
1
answer
15
views
Locale-aware number-string formatting in .NET
Different languages have different rules related to writing down numbers (counts etc.). For instance:
Polish
English
1 plik
1 file
2 pliki
2 files
3 pliki
3 files
4 pliki
4 files
5 plików
5 files
6 ...
1
vote
1
answer
1k
views
JavaScript Date - How to better set midnight UTC+0
I have a MUI Datepicker where i can select a day without time.
Example:
I select
01.09.1970
In console the log is Tue Sep 01 1970 00:00:00 GMT+0100 (Mitteleuropäische Normalzeit)
It means i sitting ...
0
votes
1
answer
301
views
ASP.NET Core MVC : ModelState error message - localization not working
en-US:
zh-CN:
Why are [Display(Name = "LoginUserName")] and other data annotations not working?
This is my localization config
What could be the fix for me?
1
vote
0
answers
64
views
How do I get a localized string from a Form resouce resx file in code?
I tried to call it as below but I couldn't. That's why the code is incomplete
private void button4_Click(object sender, EventArgs e)
{
using (ResXResourceSet resxSet = new ResXResourceSet(resxFile)...
1
vote
0
answers
342
views
How to change value of a number input field when using a different Culture - Blazor
In my application we're letting the user change language (culture) freely. But some cultures changes the "." to a "," in the decimal displays.
The problem is that the value isn't ...
1
vote
0
answers
290
views
Globalizing the properties (details) of an EXE
In Windows 10, when you right-click on an executable (EXE) file, select Properties, and click on "Details", you see some strings and numbers that come from the resources section of the ...
1
vote
1
answer
477
views
Globalization not returning all culture nationalites as expected. .NET C# Blazor
I am compiling a list of all the nationalities in the world so that my users can select their nationality from a dropdown and display this in a bio. I decided to use globalisation for this.
whenever i ...
0
votes
1
answer
354
views
How can we integrate resource file with any translation management tool
I am working on multilingual site developed in asp.net MVC. Currently we are managing the translation task using resource (resx) file and everything is working fine.
Now as per client requirement, ...