13,929 questions
0
votes
0
answers
22
views
Extracting plain text from .properties files that can have html and markdown syntax
I'm currently working on a project where I need to extract translatable plain text from .properties i18n.properties files. Usually whenever I need to protect something from the translator I use regex ...
0
votes
0
answers
30
views
Rules for normalising Scandinavian names to English alphabet, for email?
We have been asked to create an email address generator, that will create a normalised format (based on the alphabet used by English), given first name and last name.
So far we have a solution that ...
-1
votes
1
answer
53
views
Sharing String Catalog translations across Swift Packages
I am working with two Swift packages and using string catalogs .xcstrings to manage localizations.
Each package has its own specific localization keys, but I also need to reuse some common keys, such ...
1
vote
1
answer
77
views
Blazor app localization with culture code in URL fails
For a Blazor Server project, I am trying to enable browsing to a localized page with URL like:
https://example.com/en/counter (for English)
https://example.com/fr/counter (for French)
https://example....
-1
votes
1
answer
15
views
Navigation title changes only once in the session when app language changes
When I change the language of the app, navigation title updates only one time. When I wanna change it one more time, it does not update.
This solution works but it has a side effect, which take the ...
-3
votes
0
answers
33
views
Is the Microsoft "Deploy to Azure" button ever localized?
Microsoft provides developers with an embeddable button that allows them to deploy remote templates. Azure Resource Manager templates.
From the docs "This article describes how to use the Deploy ...
1
vote
1
answer
40
views
How to localize ng-bootstrap datepicker specifically using moment locale?
I'm using ng-bootstrap DatePicker in my Angular project.
Without specifically specifying I18N_VALUES values for each language and utilizing the moment library, I have to internationalize it and ...
0
votes
0
answers
20
views
Create custom localization in Odoo that inherits from other localization (l10n_mx)
I am trying to create a custom localization for a mexican company ('samplex' is going to be tha name), an that localization I must add a different chart of account but using the same taxes of the ...
0
votes
0
answers
16
views
Adding laos language in Django [duplicate]
I have added the langauge laos in settings.py as follows
LANGUAGES = [
("en", _("English")),
("my", _("Burmese")),
("fr", _("French&...
0
votes
0
answers
10
views
React Mui DatePicker - cs localisation
I'm trying to use DatePicker in Czech language.
I used this code
import * as React from 'react';
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
import { LocalizationProvider } from '@...
0
votes
0
answers
19
views
404 Page in Angular is not routable with localization (** can't be resolved)
I have an application built for (currently) two languages. German and English. I am also trying to Route some pages like about, home, login, etc... But I am facing one issue I just can't resolve. If ...
0
votes
1
answer
36
views
How to show Js.Chart in Arabic
This is my client website. It shows the gold rate in the UAE in Arabic. I have embedded Chart.js, which displays the gold rate for the last four years, but the chart is in English. I am facing two ...
0
votes
0
answers
34
views
Get Day Index of specific Week
i try to get the index of a specific week from 0 to 6.
This is working correctly for contries where the week starts from Monday to Sunday.
fun getDayOfWeek(date: LocalDate): Int {
val dayOfWeek = ...
0
votes
0
answers
13
views
Estimating Tag Position from Distance and Angle of Arrival Measurements with only Anchor Rotation
I'm working on a problem involving positioning in a 2D space and need some help understanding why my approach isn't always working.
I have:
An anchor located at the origin $(0, 0)$.
A tag at an ...
0
votes
0
answers
28
views
How to Implement Multilingual Enums in Laravel for API Responses with Translations
I am building an API in Laravel and need to implement enums with multilingual support. For example, I have a CONNECTION_TYPE enum with values like WIRED and WIRELESS. My goal is to display these ...
0
votes
0
answers
29
views
Implementing Localization in Django REST Framework
In an ongoing development project of DRF, I have to support the translation for multiple languages.
My question is how should I do it.
Like upgrading existing APIs with the translated response (need ...
0
votes
0
answers
26
views
No localisation when I publish in TestFlight
My apps works perfectly when I launch it from simulator or test device, but when I publish it in Testflight, I have an issue with all textes. No translation.
Hello, I need an help.
It's my first ...
2
votes
0
answers
26
views
Adding a local language that is not supported by Android
I have a working language switcher so that the user can change language.
The challange comes when I want to add Kissi, a local language spoken in Guinea. I have made the local code for this kq-rGN ...
0
votes
0
answers
13
views
How to display progress (percent) of the default language in Xcode xcstrings
When it comes to translating strings using xcstring, Xcode displays the progress (in %) of any non-default languages so that we know if we have translated everything or not.
What about the default one?...
0
votes
1
answer
43
views
Modify json reader with no access to editing the reader class
We are working on a localization mod for Il2cpp game. Initially, to apply localization to the game, we were launching this code that has all properties and lines from source JSON file. We have private ...
6
votes
1
answer
169
views
Is a resourcestring a string or a record, and do I have to use LoadResString to load it?
In Delphi's Vcl.Buttons unit they call:
Caption := LoadResString(BitBtnCaptions[Value]);
Where BitnBtnCaptions is an array like:
BitnBtnCaptions: array[TBitBtnKind] of Pointer = (
nil, @...
1
vote
1
answer
20
views
Include ­ character (or equivalent) in Angular's localize library
Using Angular's localize library (@angular/localize) to handle translations in an application. In my German copy however I have certain words that are too long and need a soft hyphen line break ...
-1
votes
1
answer
71
views
How to get localised String from LocalizedStringKey
I'm curious, does anyone know what the steps are to get from a LocalizedStringKey to a normal String in Swift? There are plenty of resources on the results of feeding in a LocalizedStringKey to ...
0
votes
0
answers
15
views
Flutter: Make Australian locale fall back to British localization
I have a Flutter app with an app_en.arb file providing US English localization:
{
"@@locale": "en",
"someMessage": "Pick a color.",
"@...
0
votes
0
answers
21
views
Angular ng extract-i18n not extracting from all files
I am currently building a web application and I am using Angular as a frontend framework with TS. I already built the site and am now focusing on internationalization, but everytime I run ng extract-...
0
votes
0
answers
39
views
PrimeFaces InputNumber is changing value type in webpage after losing focus
I'm having an issue with one of the PrimeFaces inputNumber component. It seems that, after losing the hover of the component, the type of the value inside the inputNumber change from a decimal to a ...
0
votes
0
answers
46
views
How to Allow Localization Overrides in an iOS Framework?
I’ve created a framework in Swift and provided localization for it. However, I want the framework’s users to be able to override the localization strings at runtime. Here’s what I’ve done so far:
1. ...
0
votes
0
answers
14
views
Expo React Native error 'translations' does not exist on type 'typeof import("c:/xampp/htdocs/.../node_modules/i18n-js/typings/index")'
I am trying to implement translations into my React Native Expo app. It installed these libraries:
npx expo install i18next react-i18next expo-localization
I am running:
import i18n from 'i18n-js';
...
0
votes
0
answers
45
views
Wix v5 Bootstrapper Application Localization Bug
I am trying to localize a bootstrapper that I am building with Wix v5. I need my bootstrapper to detect the system language and display the UI strings in the appropriate language. I found a solution ...
1
vote
2
answers
70
views
Flutter Geolocator.getCurrentPosition() not returning anything
I've been using the Geolocator package for a while and it works good, but for the last 2 days it's not working.
Am trying to get last known position, and if there is none i try to get the current ...
0
votes
0
answers
17
views
Sphinx PDF build failing on readthedocs for Russian translation
PDF builds of Sphinx's own documentation are failing for Russian translation (example build). .readthedocs.yml is set to build HTML and then PDF, and it is in the second step the failure arises. I ...
0
votes
0
answers
13
views
How do I change the output language in a Jupyter notebook?
I'm writing the notebook in spanish and I need the LaTeX-generated content to also be in spanish. For example, instead of References I need Referencias and instead of the date November 1, 2024 I need ...
0
votes
0
answers
26
views
dart run build_runner serve causing app_localizations.dart import warnings
Hi whenever I run dart run build_runner serve --delete-conflicting-outputs, I get following response:
Unable to find modules for some sources, this is usually the result of either a
bad import, a ...
0
votes
2
answers
130
views
SwiftUI - Restart app and apply new language after language selection
Problem
I'm trying to implement a language change feature in my SwiftUI app where when a user selects a new language, the app should restart and appear in the selected language. Currently, the ...
1
vote
0
answers
38
views
Is it possible to override the Localizer("string") method in ASP.NET MVC?
The Localizer method is used in conjunction with .resx files in the appropriate path. This all works out of the box with barely any config, just .AddViewLocalization() in my Program.cs.
However I'd ...
-1
votes
1
answer
94
views
Cannot remove languages from Swift string catalog
I've got quite a problem as I've created a Localizible file with String catalog for my iOS app. For testing it out I've added lots of different languages and they all appeared in App settings.
However,...
1
vote
1
answer
413
views
Angular Material Datepicker - Localization for Material18+
I use Angular Material 18 and the Datepicker component. I try to use the local variation and try to avoid moment. The reason for this is that moment is deprecated. There I try use the DateFns ...
1
vote
2
answers
221
views
How to Resolve Localization Issues in Swift Packages when working with Strings with SwiftUI?
I'm wondering how to fix problems when working with String Localization in Swift Packages in SwiftUI?
Currently facing problems:
When importing the package into another project, the localized strings ...
0
votes
0
answers
20
views
Blazor WASM language resource not loading in subdirectories
I am trying to add internationalization for my Blazor WASM project. Users can change the language manually. I have moves all of the resource files to a one location and configured for the app to load ...
0
votes
0
answers
41
views
URL culture transform not working in Identity pages integrated with Asp.Net Core 6 MVC project
I'm working on an Asp.Net Core 6 MVC project that integrated Identity for user management.
I added the language localization for English and Japanese and it works as by cookie culture transformation.
...
2
votes
1
answer
95
views
Why can't I get C++ date formatting to be different in different locales?
This program should, I think, produce different results if in a different locale:
#include <chrono>
#include <iostream>
#include <locale>
using namespace std;
int main(int, char *...
1
vote
2
answers
86
views
Google preadsheet GOOGLETRANSLATE uppercase results
I notice GOOGLETRANSLATE when used with capital letters gives wrong results.
Is there a way (using formulas) to make it ignore capital letters and translate everything as it were lowercase?
I am using ...
1
vote
1
answer
110
views
Picker values localization in MAUI
What is a right way to localize picker values in MAUI? So far I have only one idea:
Use LocalizationResourceManager.Maui. But for picker values it doesn't work when app localization has been changed ...
0
votes
0
answers
105
views
How to support multiple languages in an Angular project using only official libraries
I am fairly new to frontend web programming, and especially new to Angular. I have an Angular project that is written in a certain language (English), I now want to have it available in other ...
1
vote
1
answer
90
views
Angular material: not possible to change the matDateLocale in a datePicker using dateAdapter
I have an Angular 18 (standalone) project where I use DatePicker.
I need to change the language dinamically. For this I am using a service where I inject a DateAdapter, something like this:
export ...
0
votes
1
answer
33
views
How can I add manual localization to my .NET Core MVC app?
I am trying to add the option to choose from two languages: Bulgarian and English. I am using the Microsoft.Localization Nuget package and I have added two resource files: Resources/Views/Home/Landing....
0
votes
1
answer
155
views
Jakarta validation messages not localizing in Quarkus for custom languages
I'm having a bit of a struggle with translations in my Quarkus app. Trying to get Jakarta validation messages to show up in Azerbaijani, but it's only half working.
What I've done so far:
I've ...
1
vote
2
answers
381
views
rror: Cannot find native module 'ExpoLocalization', js engine: hermes in Expo React Native app
I am trying to implement localization for Expo React Native app.
My i18n.js file looks like this:
import { getLocales } from 'expo-localization';
import { I18n } from 'i18n-js';
// Set the key-value ...
0
votes
0
answers
29
views
PrimeNG calendar time control 'AM'/'PM' localization
I'm using PrimeNG library in my Angular project.
And I am trying to localize time control 'AM'/'PM' values inside the calendar time control.
In the component I do next:
private primengConfig = inject(...
0
votes
2
answers
84
views
How to use i18n files to localize Highcharts weekday labels?
I am working on a project where I need to localize the weekday labels in Highcharts. I know that I can do it by calling Highcharts.setOptions() before creating the chart, like this:
javascript
...