locale Questions

2

Solved

DateTime::Locale has a very comprehensive list of date and time formats for various locales and countries. I would like to use it in emails to customers, depending on which country the customer is ...
Kyungkyushu asked 4/11, 2013 at 11:15

4

Solved

I need to format a number in JavaScript with separators that may be defined at runtime. The combination of thousand and decimal separator may not match a specific locale. Is there a way to provi...
Trefoil asked 8/11, 2016 at 11:12

3

Solved

Today, in my side-project, I got a problem relate to setup getStaticPaths of multi-locale dynamic pages in Next.js. I researched and find out that there are so many people stuck in this problems. I...
Brachiopod asked 1/6, 2021 at 19:8

4

Solved

I am new to RSPEC. I have wrote a RSPEC code named result_spec.rb as below: describe '#grouped_scores' do subject { result.grouped_scores } let(:result) { create(:result, user: user) } its(:keys...
Amberjack asked 27/8, 2018 at 13:40

5

Solved

Java supports the Locales shown in this link. But I can't figure out why only some countries such as France, Canada, China and United States and some languages such as Italian, Japanese and Germa...
Tenaille asked 7/11, 2014 at 10:42

1

Solved

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...
Iridic asked 9/7 at 17:56

2

Solved

Given the following code LocalDate localDateEpoch = LocalDate.parse( "01-Jan-2017", DateTimeFormatter.ofPattern("d-MMM-yyyy", Locale.FRENCH)); System.out.println("localD...
Awn asked 2/7 at 17:53

3

Solved

I am trying to build an in-app language switcher for the app I am working on, but I have tried almost everything method available on Stackoverflow. I also tried Official guide from here https://dev...
Anarthrous asked 12/11, 2022 at 9:31

4

Solved

I would like to get quotation marks like these „...” but when I process my markdown text wih Pandoc, it gives me “...”. It probably boils down to the question how to make Pandoc use locale settings...
Resolutive asked 26/11, 2015 at 15:44

6

Solved

I am running Windows 10. When I open "Region & language settings" from the start menu, I can select a "Country or region". I am trying to get this value in a C# program. I am in Denmark. I ha...
Mcmahan asked 14/9, 2017 at 7:13

4

Solved

In Chrome, when the locale is set in 'es' the thousands separator is not there. If I use 4 digit number, there is not problem Data Set: (2500).toLocaleString('en') "2,500" (2500).toLocaleStrin...
Superabound asked 10/5, 2020 at 0:0

5

Solved

Steps to reproduce: Open new Colab notebook on GPU !ls #works !pip install -q turicreate import turicreate as tc !ls #doesn't work I get the following error: ----------------------------------...
Lopes asked 10/5, 2019 at 16:13

27

In C, how can I format a large number from e.g. 1123456789 to 1,123,456,789? I tried using printf("%'10d\n", 1123456789), but that doesn't work. Could you advise anything? The simpler the...
Philippines asked 19/9, 2009 at 23:38

9

Solved

So I want to get the value of a String in several locales regardless of the current locale setting of the device/app. How should I do that? Basically what I need is a function getString(int id, St...
Franek asked 28/2, 2012 at 2:30

2

Solved

My android app currently contains 18 translations for 170 different strings ranging from 6/170 translated to 170/170 translated. For a non-english speaking app users it makes no sense to tell that...
Uninhibited asked 14/3, 2019 at 14:34

3

Solved

I have an Excel macro in VBA. Yesterday everything worked fine, this morning VBA is changing a decimal point to a comma. That is from 5.1 to 5,1. I am using a German system and have set in Excel's ...
Morphogenesis asked 9/5, 2017 at 7:16

8

I'm trying to get a TimeZone for a user. For this I have a country code which is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a f...
Stock asked 7/9, 2009 at 15:17

11

Solved

An Android mobile actually does know quite well where it is - but is there a way of retrieving the country by something, like a country code or country name? There isn't any need to know the exact ...
Echolalia asked 2/7, 2012 at 12:24

3

I'm experimenting with dayjs. Following the example in the documentation, I have set this in my HTML script: <script src="https://unpkg.com/[email protected]/dayjs.min.js"><...
Vinson asked 7/2, 2021 at 15:3

8

I just installed terminator terminal emulator on my linux mint. for some reason I don't understand, it sets my password to some of the locale options. I've tried several things but they only offer ...
Spermogonium asked 1/9, 2017 at 7:48

2

Solved

I have an app that receives a list of supported locales from the backend as a following response: {locales: [{code: 'enUS'}, {code: 'deDE'}, {code: 'arAR'}]} I want to use date-fns library for han...
Zamboanga asked 16/3, 2021 at 15:10

2

Solved

I want to use an ICU system-insensitive sorting collation, to avoid sorting differences between postgres11-on-mac vs postgres11-on-Ubuntu. My first test was to dump out my existing Collate=en_US.UT...
Roup asked 5/4, 2020 at 20:8

9

Solved

I want to change the language of the app and this works fine until API 26. For api > 25 I put Locale.setDefault(Locale.Category.DISPLAY, mynewlanglocale); before setContentView(R.layout.activity_m...
Come asked 7/11, 2017 at 18:45

30

Solved

I have a question about formatting the Rupee currency (Indian Rupee - INR). Typically a value like 450500 is formatted and shown as 450,500. In India, the same value is displayed as 4,50,500 For ex...
Aril asked 21/3, 2011 at 14:41

7

Solved

I want to get the currency format of India, so I need a Locale object for India. But there exists only few a countries that have a Locale constant (a static final Locale), and India is not one of t...
Klapp asked 30/3, 2010 at 10:34

© 2022 - 2024 — McMap. All rights reserved.