Use this tag for reviews of code that addresses localization/globalization concerns, which make an application be displayable in multiple languages.

learn more… | top users | synonyms

12
votes
2answers
273 views

Localizing an enum in Java

I am currently using an enum in my Android application to display time periods: Weekly Bi-Weekly Monthly Quarterly Yearly I created the enum like this, because I wanted to know the description, ...
1
vote
2answers
53 views

Lightweight localization for a Cordova app

I had been trying to find a suitable solution to implement localization in my Phonegap/Cordova application. My search proved that any localization through seperate .xml or .json files was a nightmare ...
4
votes
3answers
83 views

PHP Bilingual Error System Ideas

I am building a php based mobile website that must be in both Spanish and English. This is my first bilingual site so I've been having to re-think a lot of coding practices I currently use to ...
7
votes
3answers
93 views

Parsing dates from an OCR application

I wrote this code to parse dates from the output of the OCR, which means that the obtained date can be literally anything, so I put some restrictions in place: Date is the the format of: ...
3
votes
1answer
148 views

String algorithms and locale

I am trying to write some string algorithms which I want to work for any kinds of strings and/or locale. I managed to get some results that do work, but I am not sure that what I am doing is idiomatic ...
2
votes
1answer
4k views

WPF Localisation - using resx

I have a small WPF application which I'm not exactly localizing, but not hard-coding resources either. I know WPF doesn't use .resx files for that purpose, but I exposed the resource strings as public ...
3
votes
2answers
3k views

Working with Locales in Swing (with change at runtime)?

I thought about the best way to implement localisation with runtime in Swing. I currently solve the problem like that: ...
5
votes
2answers
423 views

Extension methods for translation engine

Our application uses some singletons for localized strings. These calls used to be long and dirty. Therefore some co-worker created extensions for the int and ...