RangerWolf / language-detection

Automatically exported from code.google.com/p/language-detection
0 stars 0 forks source link

change abbreviated language profile name to longer form. #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This isn't a bug really.  Would it be possible to just rename the short name 
profiles with their corresponding long form name? Or maybe add a way to store 
both long and short names and add a method like "detectLongName" or 
"detectShortName"?

This would be better just in case more profiles are added and no one is 
dependent on translating the short name to a long name in their own code base.

Original issue reported on code.google.com by vi...@logik.com on 3 Jun 2011 at 8:42

GoogleCodeExporter commented 9 years ago
Hence the long name is dependend on user's language, I think each application 
must solve the whole language name if necessarily.

Original comment by nakatani.shuyo on 7 Jun 2011 at 6:35

GoogleCodeExporter commented 9 years ago
Java's Locale class can be used to get the long name of a language in your (or 
another) language.  It's not a simple matter of storing a single full name for 
a language, because different people call it different things.

Original comment by dan...@nuix.com on 17 Oct 2011 at 5:47