13,906 questions
0
votes
1
answer
63
views
LocalizedStringResource is passed in an Interpolated String with an invalid segment
Trying to localize an interpolated string using Strings Catalog. Strings must be represented as LocalizedStringResource here, there's no other option.
// Error: 'LocalizedStringResource' is passed in ...
1
vote
2
answers
69
views
All validation messages are displayed as "The value '' is invalid" instead of actual messages
I configured localization in my ASP.NET project and enabled DataAnnotation localization.
builder.Services.AddControllersWithViews()
.AddDataAnnotationsLocalization();
builder.Services....
1
vote
2
answers
82
views
Laravel localization using session not applying globally (locale changes in session but app()->getLocale() stays unchanged)
I am trying to implement localization (English/Japanese) in a Laravel 12 project using session-based language switching.
I have a route to switch language:
Route::get('/lang/{locale}', function ($...
0
votes
1
answer
61
views
AchievementLocalisation.csv file fails validation
I'm trying to bulk import achievements to Google play console and while it works without the AchievementLocalisation.csv file I'd like to understand why it fails validation when its included.
This is ...
0
votes
0
answers
209
views
Italian locale settings break Excel Formulas in my code
I wrote a small Excel COM automation code that works on my machine.
Since everything worked fine, I have decided to test it on a client machine. Only formulas didn't work.
I always get #NOME? for ...
0
votes
0
answers
40
views
string is not working in certain language
I have an app in different languages working perfectly. The problem is that I am adding new content and I have to add more strings. I forgot to add a translation for portugal and after adding it, the ...
1
vote
2
answers
131
views
C# TimeZoneInfo.ConvertTimeToUtc() not working for pre-transition times
C# .NET 8 appears to be mishandling conversion of local times to UTC for times 12am..2am on daylight saving transition days. E.g.
var fallBack = new DateOnly(2026, 10, 25);
var tzi = ...
Best practices
0
votes
7
replies
70
views
Sylius: Default locale without URL prefix, secondary locale with prefix
I am trying to configure a Sylius shop with the following requirements:
Default locale: English (en_US) should be accessible at the root / URL without a URL prefix
Secondary locale: Dutch (nl_NL) ...
0
votes
0
answers
48
views
How to localize a Measurement correctly for Siri?
I have an AppIntent to start a timer in my app with Siri (via an AppShortcut phrase):
struct StartTimerWithCustomTimeIntent: AppIntent {
static let title: LocalizedStringResource = "Start New ...
0
votes
2
answers
91
views
Next.js App Router: error.tsx and not-found.tsx don’t receive params in nested routes
I’m using Next.js App Router with nested dynamic routes (e.g. app/[locale]/itineraries/).
In normal pages and layouts, params are available as expected.
However, inside error.tsx and not-found.tsx, ...
0
votes
1
answer
87
views
ASP.NET Core 10 MVC localization problem with data annotation
I am trying to use localizations for data annotations in my ASP.NET Core 10 MVC project.
I have added the following code to program.cs:
builder.Services.AddMvc()
.AddDataAnnotationsLocalization(...
Advice
0
votes
0
replies
54
views
How to disable localization ONLY in Django admin (specifically /admin/jsi18n requests) while keeping it in the main site?
How to disable localization ONLY in Django admin (specifically /admin/jsi18n requests) while keeping it in the main site?
I experiencing 503 errors on our production server due to a high volume of ...
Advice
0
votes
5
replies
74
views
How to localise submit buttons in HTML forms
I am building a multi-lingual website and want to localise the captions shown on buttons in a form.
<form action="check.php" method="post">
<input class="btn btn-...
Best practices
0
votes
1
replies
65
views
Best practice for localizing a large (16,000+ rows) SQLite database in android
The core of my app is an SQLite database containing over 16,000 strings.
My goal is to translate them into multiple languages in the most performant, memory-efficient, and maintainable way.
I ...
0
votes
1
answer
1k
views
Strings Catalog in Xcode 26 with auto-generated symbols: device won't use correct language
I watched the talk at WWDC25 where Apple introduced the generated symbols feature for Strings Catalog.
Since I have just started a new project as my first iOS development experience (I come from 10+ ...
0
votes
2
answers
92
views
Offline English-to-Bengali transliteration of dynamic text in React Native
I’m working on a multilingual React Native app and using i18next for static UI strings like “Submit” or “Profile” — that part is solid.
But I also need to display user-facing names (stored in English) ...
1
vote
0
answers
71
views
Automatically add string from swift package to apps string catalog
I have a String Catalog file in the iOS app. If I have e.g. a Text("Hello App") in a view in the app, everything is automatically recognized and the key "Hello App" is added to the ...
0
votes
0
answers
50
views
Use localised files in Flutter
I have an android app whose content is filled with localised files in raw folders (raw, raw-de, raw-fr...). Now I want to develop it in Flutter, but I don't find anything about internationalisation of ...
1
vote
1
answer
99
views
How to enable custom intellisense in XAML (WPF) like "Brush" to fill property?
I try to write a globalized app using WPF. I use .resx files to maintain my location resources. I create a customized markup extension to bind location resource to XAML. The problem is when I edit my ...
0
votes
1
answer
119
views
Force change the language of my current input keyboard programmatically in Android
We are building a Multi-Lingual Business Application -- where the user is able to enter values and data in multiple languages.
One of our main use cases is, if a user is editing or adding to a text ...
3
votes
1
answer
364
views
Delphi 12 localization tools are gone
I have a huge project where I was using Delphi 11.x and its embedded localization tools, like the "Update localized project" menu. I could compile a DLL that contains all I need to localize ...
1
vote
0
answers
232
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
2
answers
115
views
Language Resource Key is getting returned when called from Localization in my ASP.NET Core Web API project
We are trying to implement multilingual support for our ECommerce platform. We have decoupled architecture. We have front facing website on Vue.js and backend is an ASP.NET Core Web API. For the ...
0
votes
0
answers
48
views
Why Cant I Intercept the MSAL.JS call to authorize my Entra ID User from Blazor WASM so that I can append the ui_locales query param?
We have developed a Blazor Web Assembly App (WASM) that uses the standard Microsoft.AspNetCore.Components.WebAssembly.Authentication library to handle Authentication
{
options.ProviderOptions....
1
vote
1
answer
202
views
Correct way to use Angular localize subpath
I'm developing a website using Angular 19.2 that switches between Japanese (default language) and English. I want to display Japanese by default. After signing in, I want to be able to select English ...
0
votes
1
answer
90
views
Localization works locally but not in Docker container (ASP.NET Core)
I'm working on an ASP.NET Core project with localization support. Everything works as expected when running the app locally on Windows (e.g., using dotnet run).
However, after building the project ...
0
votes
0
answers
65
views
Localization in laravel with mcamara/laravel-localization while on FrankenPHP
Can't seem to get internationalized routes to work when running on FrankenPHP.
Tried clearing the cache, restarting the server after rebuilding routes. But still, as soon I try to access ...
0
votes
1
answer
72
views
Kalman Filter with weighted Non-Gaussian Noise
I have question regarding how to implement a Kalman Filter when the measurements are less than reliable. I am attempting to use a UWB piece of technology called a DecaWave for indoor localization. In ...
1
vote
0
answers
420
views
Localized NSUserNotificationsUsageDescription Not Working for Some Locales in iOS 18 (Xcode 16)
I'm trying to provide custom localized descriptions for the iOS notification permission popup in my app, which supports multiple locales. To achieve this, I'm using InfoPlist.strings files per locale ...
0
votes
1
answer
68
views
Main methdology steps to configure multi-languages application
I want to make my application multi-language and achieves following conditions:
Navigation Bar has the list of languages that make the language changing easily from any in the application.
The ...
0
votes
1
answer
277
views
How to implement Flutter localization with GetX for multiple languages (English and Malayalam)?
I'm building a Flutter app and want to support multiple languages, specifically English (en) and Malayalam (ml). I am using the GetX package for state management and routing, and I want users to ...
1
vote
1
answer
585
views
Flutter localisation cannot find the app_localizations.dart file
I am trying to implement localisation in my Flutter app but I have a problem while importing the app_localizations.dart :
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
/*Target of URI ...
0
votes
1
answer
170
views
How do I build a single language version of an Angular application localized with Angular i18n
I am localizing an Angular application using the Angular i18n package.
The original language is German, and I am creating an English version.
On building the application, I get two subdirectories &...
1
vote
0
answers
84
views
Why doesn't std::tolower(int) nor std::tolower(char, std::locale) convert Ç to ç? [duplicate]
From Linux/glibc, I have run some simple experiments to test how all char values are treated by std::tolower(int) -> int and std::tolower(char, std::locale) -> char. For my locale, I was ...
1
vote
1
answer
199
views
How to safely move String Catalog from old project to new and maintain all translations?
Lets say you have an XCode project that uses the new(er) String Catalogs (localizable.xcstrings)
You have done some translations, compartmentalized everything into different tables, etc. and ...
0
votes
1
answer
113
views
Why does setting CultureInfo.CurrentUICulture and using RequestCultureFeature not change the language in ASP.NET Core?
I'm working on an ASP.NET Core web application with custom localization using JSON files. I'm trying to change the language at runtime and reflect it immediately in the current request. Here's what I ...
1
vote
0
answers
78
views
macOS SwiftUI localization not applying RTL layout when switching to Arabic
I’m working on localizing my macOS SwiftUI app (minimum target macOS 12.0) using Xcode 16.0. I’ve implemented language switching within the app and localization works perfectly in terms of translating ...
3
votes
1
answer
214
views
Intl.DateTimeFormat: Why is timeZoneName: "shortOffset" is having a different value in different languages
We are currently exploring showing timestamps with time zone to our users and decided to go with the Intl.DateTimeFormat option timeZoneName: "shortOffset" but we now noticed that the value ...
0
votes
0
answers
101
views
How to write middleware.ts when using next-intl for a NextJS app?
Using NextJS and React here. So the gist is that we provide our clients with their own website and subdomain (eg: salon.xyz.ai / salon2.xyz.ai). I am trying to add localization using next-intl with ...
0
votes
0
answers
56
views
AddDataAnnotationsLocalization does not work
I would like to translate the validation messages into Italian, to do so I added this call to this method on the mvc builder, the problem is that it doesn't work, the messages remain in English.
...
3
votes
1
answer
689
views
How to remove stale strings from xcstrings catalog?
When working with a Localizable.xcstrings string catalog in XCode for localization, how do you remove/delete "stale" items from the catalog?
I'm assuming they don't go away by themselves... ...
0
votes
1
answer
91
views
Translate and combine a PHP string array using Smarty
I'm working on come code that uses Smarty for templating. I have a php function that creates an array of strings, and this function is called from a Smarty { } block. Within that Smarty block I need ...
1
vote
1
answer
121
views
Culture change with date in string interpolation call to ILogger.LogInformation
I'm having a hard time understanding the change of culture of the date I want to print, different cases lead to different results. First of all, I write from EU so the standard format for dates I ...
1
vote
2
answers
270
views
Blazor web app, global InteractiveServer, .NET 9. Localization. During culture change strange exceptions occur
I follow the localization directions from Microsoft at Globalization and localization.
It doesn't work as expected and has also obvious mistakes (like confusing app.razor with routes.razor).
Anyway, ...
0
votes
0
answers
78
views
How to get language cookies in ASP.NET Core 8.0 Blazor server app?
I can't get the language cookies in Blazor Server App. I have client and server on the same host, but cookies are not sent with the request. And I get the default language here, although cookies are ...
5
votes
1
answer
235
views
Correct sorting in Java for all languages (including e.g. CS)
I need correct sorting + collator that sorts all European languages correctly (including e.g. czech characters.
I've tried various approaches and it still messed up accented U.
I rather not go for a ...
0
votes
2
answers
159
views
WPF Class library throws System.Windows.Markup.XamlParseException when referencing assembly WPFLocalizeExtension
I'm starting to look at adding localisation my plug-in (For Revit if that's relevant), using WPFLocalizeExtension.
I've used nuget to add WPFLocalizeExtension to my project, and everything compiles ...
0
votes
1
answer
49
views
How to reference localized strings in a module's ScriptsToProcess script?
Consider the scenario:
A module manifest's ScriptsToProcess key refers to an intitialization script -- which is designed to throw an exception if pre-requisites aren't satisfied (providing an ...
0
votes
1
answer
80
views
Getting error key name instead of localized message in API response
Example of values in ErrorMessages.resx
Or example in text
name: "OrderIsClosed"
neutral value: "Can't edit closed order."
uk-UA: "Не можна редагувати закрите замовлення.&...
0
votes
2
answers
597
views
Use resx files for localization in .NET 9 Maui
I want try to use .resx files for localization in my .NET 9 Maui app. My resource file is in the Resources folder like:
/Resources/Languages/Resources.en.resx
with a key "title".
I try to ...