U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » more complete lang.cpp
Re: more complete lang.cpp [message #23686 is a reply to message #23680] Fri, 13 November 2009 18:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
bonami wrote on Thu, 12 November 2009 20:46

Mirek,
I'm afraid I do not get it.
I'm getting all language list and enumerating their names, encountering troubles detailed http://www.ultimatepp.org/forum/index.php?t=msg&th=4740& amp; amp;start=0&
So should we stop translating these language names?


Instead of creating dozens of classes that only assign language names in constructor

	LanguageInfoEZ()
		: LanguageInfo(LNG_('E', 'N', 'N', 'Z'))
	{
		english_name = "New Zealand English";
		native_name = ToUnicode("New Zealand English", CHARSET_DEFAULT);
	}



we should have one generic class that does something like

	LanguageInfo()
	{
		english_name = t_("English");
....
	}


possibly also picking more info about the language from .t files first, from system later.
 
Read Message icon7.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I do RUN-TIME localization files?...
Next Topic: same LNG_ in lang.cpp
Goto Forum:
  


Current Time: Wed Sep 16 16:10:51 GMT+2 2026

Total time taken to generate the page: 0.00723 seconds