Tagged Questions
1
vote
0answers
39 views
Password requirements with localization
Our application currently checks user passwords to ensure that they are > 8 chars in length and include at least 1 uppercase character, 1 punctuation character, and 1 numeric character. This is all ...
3
votes
1answer
58 views
How should keyboard mnemonics be localized? [closed]
Is there a standard approach to localizing (internationalize) keyboard mnemonics? For example, in Windows Explorer (English), if the user types Alt-F then C, the File menu opens and then the Close ...
4
votes
3answers
38 views
Calendar failed to get the days names in different languages than English
I'm trying to get the days of the week in German using the Calendar function getDisplayNames() with German locale.
Calendar now = Calendar.getInstance();
Map<String,Integer> displayNames = ...
0
votes
1answer
89 views
Android - getActionBar().setDisplayHomeAsUpEnabled() crashes app, only on small French screen
So I am in the process of localizing my app for different languages, starting with French, and have come across a bizarre problem.
Upon creating an activity, I call ...
2
votes
1answer
49 views
How do I support localization with Jersey?
I am designing a REST API that I would like to be localizable in the future.
Therefore I am defining the URLs to be of the form
/en/<resource_url>
With the intention of being able to support
...
1
vote
2answers
50 views
How do I divide name strings beginning with different language specific characters
How do I divide name strings beginning with different language specific characters?
Seems an easy question, but unless you know your way it's kind of hard!
I wish to do this without any extra ...
1
vote
1answer
54 views
Changing format of predefined java date formatters
Is there a way to change format of date (pattern) which is used by class DateFormat to print dates for specific locale?
Let me explain the situation I'm in. I have a big web application that runs on ...
1
vote
2answers
50 views
Java working with international files. Encoding stuff
I'm writing a sample test application of which the main functionality is to modifying some text files (does not matter what kind of modifications). These test files are usually in txt format. The ...
0
votes
1answer
175 views
javax.el.PropertyNotWritableException: /index.xhtml @29,118 value=“”: Illegal Syntax for Set Operation
I want to create a login screen with localization option to translate the name and when i change from the default English to Arabic it crash
here is the faces.config.xml
<?xml version="1.0" ...
1
vote
2answers
44 views
How to format a String with multiple dates in Java
I would like to format a String that contains patterns for more than one date/time. For example:
'Starting on' EEEE 'at' h:mm a 'and ending on' MMM d
Here I am trying to use two dates in the same ...
0
votes
2answers
82 views
Should be localization part of domain in DDD
While following DDD concept I'm struggling on decision if I should make my domain localization aware? I came with two two solutions how to solve this. Both makes domain localization aware in different ...
3
votes
3answers
113 views
Java NumberFormat ignoring comma in US locale ?
I don't understand something in the NumberFormat, in US locale it is suppose to treat comma (",") as a group separator - for thousands.
Why does it ignore commas in incorrect places for this locale ? ...
0
votes
1answer
180 views
Telugu fonts (telugu conjuncts) not working properly in Android 2.2
I am trying to display telugu fonts in my app.
Code
Typeface Telugu;
Telugu = Typeface.createFromAsset(getAssets(),"fonts/withG.ttf");
TextView tt = (TextView)findViewById(R.id.label);
...
-5
votes
2answers
53 views
How to read local language in java? [closed]
I have an Excel sheet written in local language(Gujarati) , now I want to read and save that data in database by using java code . What would be the code for doing so ? for help , thanks in advance. ...
0
votes
2answers
88 views
Is there a one-liner for dealing with singular/plural words in common languages?
All too often I see websites do things like 1 views, 1 days left, or 1 answers. To me this is just lazy as its often as easy to fix as something like:
if(views == 1)
print views + " view"
else ...