Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
7 replies
76 views

If I run var_dump(setlocale(LC_ALL, 'xyz.utf-8')); on Windows I get string(9) "xyz.utf-8" despite the fact that 'xyz' is not advertised in ResourceBundle::getLocales('') and having ...
Greenflash's user avatar
0 votes
0 answers
51 views

I am using IBM MQ on a Windows 11 machine that was originally installed with the Japanese language pack—in other words, unlike the typical en-US installation, mine came with Japanese as the default. ...
Micro Soft's user avatar
4 votes
1 answer
113 views

This question has to do with syntactic conventions for string encoding identifiers in locale names passed to setlocale in C, focusing on the particular example of UTF-8. My preliminary observation is ...
NikS's user avatar
  • 194
25 votes
13 answers
3k views

I'm writing a program where I need to parse some configuration files in addition to user input from a graphical user interface. In particular, I'm having issues with parsing strings taken from the ...
Newbyte's user avatar
  • 3,957
4 votes
1 answer
134 views

The Locale class in Java can accept 3 arguments: language, country and variant. The first two are self-explanatory. However, I don't understand the purpose of the variant argument. This is the ...
Luc Bleijenberg's user avatar
0 votes
0 answers
71 views

I have a Restcontroller with a parameter with a LocalDate like this: @RequestParam @Schema(requiredMode = REQUIRED) @NonNull final LocalDate startDate When calling the endpoint with a Swedish ...
Perty's user avatar
  • 921
0 votes
1 answer
39 views

I tried to change the language but it didn't work. My computer language is Simplified Chinese. //pubspec.yaml dependencies: flutter_localizations: sdk: flutter //main.dart import 'package:...
XiaoShang's user avatar
1 vote
2 answers
111 views

It seems like setlocale() in C (at least on Linux) only works if the locale you’re trying to set it to is one of those listed in the output of locale -a. Is this really true? The reason I ask to ...
NikS's user avatar
  • 194
0 votes
1 answer
91 views

I have a project in laravel 11 and there are some issues with my config. The site should support optional locale param to differentiate between default and custom language: DE: https://example.com/...
Bajlo's user avatar
  • 1,437
0 votes
2 answers
139 views

I have the following code: if let index = currentLanguages.firstIndex(where: { $0.languageCode == language.languageCode }) { currentLanguages.remove(at: index) } else { ...
StelzenPieper's user avatar
0 votes
0 answers
57 views

I'm getting an exception while running my executable on windows with a Japenese locale. The same executable works well in an English locale. Here is the stack trace I am getting: See the end of this ...
Nandkishor Chavan's user avatar
1 vote
1 answer
134 views

I have English Office. Building a macro that builds a string using dates: Range("G2").Formula = "=TEXT(TRIM(F2),""dd.MM.yyyy"")" Range("G2:G" & ...
user2858200's user avatar
0 votes
1 answer
172 views

I can change the language locale on my Galaxy S23 Ultra, but when I try on my Galaxy A14 5g, the language remains the same. They are both running Android 14. I don't understand what I am doing wrong. ...
Jeffrey Lima's user avatar
0 votes
1 answer
165 views

I'm building a Flutter app that uses the https://pub.dev/packages/speech_to_text v6.6.2 package for speech-to-text functionality. My app works perfectly with Japanese (ja-JP) voice input on the ...
devOtter88's user avatar
0 votes
0 answers
38 views

I am doing this mobile app in Java and I want to have language selection. I managed to this in way below, but I don't want to use deprecated updateConfiguration() method, but I couldn't find working ...
Juliusz Bednarek's user avatar
1 vote
1 answer
209 views

I have a list of currencies, with all the settings I could think of: { "code": "USD", "name": "United States Dollar", "symbol": "\$&...
Chris's user avatar
  • 2,404
1 vote
0 answers
52 views

According to Microsoft's documentation Windows has used IETF BCP locale names since Vista (in other words, they should be used on all currently-supported versions of Windows). These names typically ...
Reuben Thomas's user avatar
3 votes
3 answers
298 views

I am having confusion on understanding the following piece of code: public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); ...
Asgar's user avatar
  • 2,410
1 vote
1 answer
128 views

I am trying to call Powershell Get-Date command within the batch script. Here is my batch script: @echo off setlocal EnableDelayedExpansion set myFormat=dd/MM set locale_independent_get_date=...
user3104363's user avatar
1 vote
1 answer
325 views

I upgraded from Angular 11 to 17. If I comment out in HTML my OwlDateTimePicker, the app loads fine. Is it really possible the OwlMomentDateTimeModule Moment Adapter just doesn't implement the ...
carlupq's user avatar
  • 328
0 votes
1 answer
83 views

I am (happily) using RevenueCat, everything is working perfectly fine. BUT now I would love to get the users locale, or more specific, the users AppStore locale. Is there any way to get this from ...
Chris's user avatar
  • 2,404
0 votes
2 answers
63 views

Description: I'm using a TextInputLayout with TextInputEditText to allow users to enter text in my Android app. I've enabled the character counter with a maximum length of 500, so as the user types, ...
Shubham's user avatar
  • 41
2 votes
1 answer
108 views

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 *...
John Graham's user avatar
3 votes
2 answers
269 views

When using setlocale() to change the locale of the program to Italian, the code works as expected only when using setlocale(LC_ALL, "") and not when using setlocale(LC_ALL, "it-IT")...
Matteo Moro's user avatar
0 votes
1 answer
618 views

I'm experiencing an issue with Ansible playbook where the locale settings do not seem to be retained on the target host. I'm running a playbook with task that will register as output a date. It used ...
JoeDoo's user avatar
  • 1

1
2 3 4 5
107