Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » drawing toy ( sort of )  
	
		
		
			| Re: drawing toy ( sort of ) [message #23262 is a reply to message #23261] | 
			Mon, 05 October 2009 22:58   | 
		 
		
			
				
				
				
					
						  
						andrei_natanael
						 Messages: 262 Registered: January 2009 
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		| koldo wrote on Mon, 05 October 2009 23:07 |   Hello all 
if(program.lang == -1)
	SetLanguage(SetLanguage(GetSystemLNG()));
else
	SetLanguage(program.lang);  
So the first time the program starts with the system language an the rest with the one the user has chosen. 
  |  
  
Once you've set the language manually you loose automatic change of language if you change the system language. 
 
| Quote: |  
  
Because of it I need an option to choose the language and I would prefer to populate it with the supported languages. But I would like to know how to find the languages included in a project .t file.
  |  
  
I don't think that is possible(or not so easy) because AFAIK U++ translations are shared with application translations. You may detect that you have multiple translations (in U++ part) but in reality your application may not provide translations to that language and it result in incomplete translation (mixed translation i think, en-us - your-lang).
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 03:05:39 CET 2025 
 Total time taken to generate the page: 0.12613 seconds 
 |