Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
173 views

Dev C++ Locale only working while using system's locale and not when specifing name

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
2 votes
0 answers
63 views

dealing with different language character set

we have a basic user search application. one needs to write partial/full user firstname / lastname and the application returns users matching the search. Now we deal with many international users ...
Amrita Deb's user avatar
0 votes
0 answers
88 views

what locale does grep use if no environment variable explicitly sets it?

In case this is relevant: I'm using Git Bash for Windows but NOT the usual mintty launcher (I'm running bash directly), so I have fewer environment variables set than "normal". In ...
Mark VY's user avatar
  • 1,671
0 votes
0 answers
16 views

Trying to applying locale on Activity extended with Fragment Activity, Then Locale is not applying on Fragment

This is the code where I applied Locale in Activity. Leanback is used in this fragment. `public class M3uMovieDetailsPage extends FragmentActivity { Fragment fragment; public ImageView ...
Zeeshan Ahmed's user avatar
3 votes
0 answers
281 views

How does one install and test Windows locales in support of `set locale()` in the GitHub Windows runner?

I've added tests for localization to Sqitch, which requires that the POSIX setlocale() function return an appropriate value. A couple of GitHub workflows run this tests on Linux, macOS, and Windows, ...
theory's user avatar
  • 9,917
1 vote
1 answer
58 views

Use multiple locales in R ShinyApp deployed to shinyapps.io

I've built an app where users have the option to generate reports in English, Spanish, and Portuguese. The reports have a time stamp at the top that relies on Sys.setlocale and format to translate and ...
bcarothers's user avatar
0 votes
1 answer
893 views

Android Studio set Locale not working in any file just MainActivity

I have build an application in Android Studio (using only java not kotlin). Recently I started to create translations to make it multilingual and I need to use a function to change the app language. I ...
Rafael Bento's user avatar
0 votes
0 answers
48 views

Compiled program can't display special characters

Currently I'm trying to display some portuguese characters in C++, in VS code terminal it displays fine but when I run the .exe file it displays abnormaly. Can someone please help me! Thanks in ...
Mekkai's user avatar
  • 1
0 votes
1 answer
1k views

How to change the default language and add it_IT.UTF-8 locale to locale.gen on Azure?

I'm trying to change the default language on the Azure machine hosting my app. Currently, the default language is set to en_US.UTF-8 and is the only one in locale.gen, but I need to configure it to ...
Francesco Caligiuri's user avatar
0 votes
1 answer
126 views

php setLocale fails, but that locale is installed on my server

I have these 3 locales installed and generated in my debian VPS Generating locales is doing this About webserver, I am using Apache with php-fpm In my code i do this echo "\n<!-- locale:\n&...
realtebo's user avatar
  • 25.7k
1 vote
0 answers
240 views

C++ std::locale::global - using in a DLL affects calling program?

I have an interesting problem with C++ locales. We have a DLL which takes text string parameters and does some hardware interfacing. The details of that aren't too important; the main point is that ...
Graham's user avatar
  • 1,705
1 vote
2 answers
1k views

Java set locale permanently

I am completely new to Java (I am mainly using Python) and I am using it on a Windows machine with the IntelliJIDEA IDE. When entering a decimal using the dot (".") instead of the comma (&...
silence_of_the_lambdas's user avatar
0 votes
1 answer
85 views

Cakephp I18n setLocale doesn't change language

I have a Cakephp 4 project internationalization used to work but today I tried it changing the PC and it didn't change the language and doesn't give any error. I have this methid to change language in ...
Iria 's user avatar
1 vote
1 answer
575 views

std::stringstream gets broken after setting UTF8 locale

I'm having trouble with outputting numbers once I set a global locale in my C++ app. Here's a working code sample: #include <locale> #include <clocale> #include <sstream> #include &...
Bogdan Ionitza's user avatar
0 votes
1 answer
287 views

Python calendar on Windows: unsupported locale setting

Windows 10 + Python 3.10 Hi there.. Trying to make my first steps with calender, I got an setlocale error.. This is my code import locale locale.setlocale(locale.LC_ALL, 'de_DE') print(locale....
Malta's user avatar
  • 147

15 30 50 per page
1
2 3 4 5
17