Skip to main content

Questions tagged [locale]

In computing, locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language identifier and a region identifier.

locale
0 votes
0 answers
19 views

Per-app language preferences default strings XML

I'm implementing per-app language to learn how it works so I've created an app with this config: res/values/strings.xml <-- (default english values) res/values-it/strings.xml <-- (italian ...
user.kt's user avatar
  • 197
0 votes
0 answers
16 views

Why is my App not changing it's content from English to other language[Lithuanian] on selecting the option specified in android?

I have an option in setting about changing the language of content to Lithuanian and English. Both the items are in the Spinner, so When i select the option of Lithuanian, the content of settings ...
Freya19's user avatar
0 votes
0 answers
36 views

QFontDialog shows fonts for unsupported locale

My laptop is on Gentoo Linux KDE with Qt 5.15.2, and I have English locales as well as Russian. However, when I tried to run QFontDialog (native dialog) I got a font name Noto Rashi Hebrew. And so ...
Igor's user avatar
  • 5,906
1 vote
0 answers
46 views

How to create a Postgres database with a different locale?

I'm trying to create a new Postgres database with the following code: CREATE DATABASE my_db WITH OWNER = admin ENCODING = 'UTF8' LC_COLLATE = 'en_GB.utf8' LC_CTYPE = 'en_GB.utf8' ...
Tom Wagstaff's user avatar
  • 1,600
-3 votes
0 answers
25 views

laos locale on Android [closed]

I need to verify that the Lao Locale is 'lo' on Android. Additionally, if possible, I ask that users in the Lao region check their Android device's language settings to see what the screen below looks ...
CW Lee's user avatar
  • 1
1 vote
1 answer
99 views

Difference in initialization of a Locale object

Is there any difference between this two ways of creating a Locale : Locale uk = Locale.UK; Locale en_uk = new Locale("en", "UK"); The only difference I have noticed so far is ...
wannaBeDev's user avatar
2 votes
2 answers
70 views

make diff ignore case of umlauts

I need to make diff ignore the case of my inputs. Both inputs contain German umlauts like ä and Ä. Option -i successfully makes diff ignore the case of my input for other characters like a and A, ...
Alfe's user avatar
  • 58.5k
0 votes
0 answers
29 views

How to change date filter format in material react table?

I have a material react table component to display table data in my project, dates and date filters should be in dd.mm.yyyy format, but by default it is mm/dd/yyyy. After using Localization provider ...
JafoLeo's user avatar
  • 13
2 votes
2 answers
136 views

Whats the point of Locale in DateTimeFormatter?

Given the following code LocalDate localDateEpoch = LocalDate.parse( "01-Jan-2017", DateTimeFormatter.ofPattern("d-MMM-yyyy", Locale.FRENCH)); System.out.println("...
ryn's user avatar
  • 271
0 votes
1 answer
31 views

datefns ru locale incorrect short month name

I found that all short month name in en or de locale don't have any sign at the end but in ru locale there are (like 'янв.'). But it's kinda weird cause they are at the end of some of months but not ...
cfgi's user avatar
  • 1
1 vote
0 answers
27 views

Why can't the comm command tell the difference between ✓ & ⨯ when LANG=en_US.UTF-8?

If I have two files, a.txt containing: meow ✓ bar and b.txt containing: meow ⨯ bar Why can't the GNU Coreutils command comm tell the difference between the two when $LANG is set to a UTF-8 encoding? ...
binaryfunt's user avatar
  • 6,829
1 vote
1 answer
22 views

Add default locale when I enter URL for the first time

Hello I want to add locale to my URL. When I start the app my "default URL" is http://localhost:5173 and the page looks like this: I get this error: And I want to get this: To get it I ...
Dusan's user avatar
  • 111
0 votes
1 answer
45 views

Next.js internationalisation: all the routes throws "404 not found" for only one locale while I can access the other locale's routes

I'm currently figuring out how the Next.js localisation and internationalisation work. beside the root page.jsx (home page), I have two folders: test and tester -sorry for the confusion- and two ...
Marya's user avatar
  • 119
0 votes
0 answers
40 views

Custom locale facets get ignored by std::locale::category

I have created a custom locale facet by specializing std::ctype for int32_t, to accommodate my std::basic_string<int32_t>. namespace std { template <> class ctype<std::int32_t&...
IS4's user avatar
  • 12.6k
0 votes
1 answer
62 views

Change app language/locale programmatically in jetpack compose during instrumentation/UI test on Android

The app supports 2 locales. During instrumentation or UI test, I want to test with a specific language (such as EN). Referring 6629458, I made a function for changing the locale in kotlin: private fun ...
lhchuopp's user avatar
  • 492

15 30 50 per page
1
2 3 4 5
353