locale
App doesn't work in some localizations(eg. DE & FR) and works on others(eg. PT & Simplified Chinese)
I\'m developing an Android app in Eclipse with Android-2.1 as the \"minimum\". The app works perfectly in default language (English). I decided to add multi localization, and the problem starts there[详细]
2023-04-13 07:43 分类:问答Converting LCID to Language string
In my application I have to query for System and User Locale and return them as strings(like en-US instead of language codes). I can get the LCID for these Languages from GetSystemDefaultLCID() 开发者[详细]
2023-04-12 21:39 分类:问答Retrieving Day Names in PHP
I need to displ开发者_JS百科ay to user a list of localized day names (like \'Monday\', \'Tuesday\', ...) in a form. I know ho to get day name of any date. But is there a particular and fail-proof way[详细]
2023-04-12 19:21 分类:问答How do I specify shared attributes translations between models in I18n locale file?
I tried the following: es: activerecord: attributes: name: Nombre And it did not work. But the following do work:[详细]
2023-04-12 18:33 分类:问答Android string-array locale verification
I was wondering if anybody had come across a good way to validate string-arrays in the res/values directory.[详细]
2023-04-12 17:21 分类:问答Transforming a Locale[] to a CharSequence[] to place inside a ListPreference in Android App
In my Android app, I want to place a list of all the available Locales on the phone into a ListPreference in my PreferenceActivity so that the user can select which one he wants to change the output o[详细]
2023-04-12 16:57 分类:问答How to get the closest character that is greater than the given one in postgresql?
I n开发者_开发知识库eed to get the closest character specific to locale that is greater than (in terms of string comparison) the given one in postgresql. I tried to use[详细]
2023-04-11 23:24 分类:问答work around for time.strptime(today.strftime("%x"), "%x") failing in some locales
Trying to display a localized date string in a text gui widget. The approach I am taking at the moment is to display the localized string with datetime.datetime.strftime(\"%x\") into a text widget, so[详细]
2023-04-11 19:25 分类:问答Arabic Locale Support in Flex
Today, I learn how to localize my Flex application and to support multiple languages. The tutorials on-line are great. However, non of them mention the Arabic locale.[详细]
2023-04-11 07:15 分类:问答Rails 3.1 Routes: How to add a locale to beginning of URI when missing?
I\'m trying to insert a locale at the beginning of a request URI in a Rails 3.1 app if it is missing. I created a Ruby script that does what I want:[详细]
2023-04-11 05:32 分类:问答