| 
				 
					06-06-2011, 10:12 AM,  
				 
				
			 | 
		 
		
			| 
				
			 | 
		 
		
			
				Spanish translation 
				
					I've started an spanish translation for VDrift. It isn't finished but I'm posting it here because I'm having some problems with some characers: 
Opening question mark: ¿ 
Tilde: ` ´ 
And others.
 
I don't know how to build specific fonts for spanish language. The second thing is: Is there any way of changing the problem of the fonts so that everybody could use the same font for every language? I don't know how fonts are drown in this game but Android applications can do it.   
http://www.mediafire.com/file/w8plmd8r4k...a%F1ol.lng
				 
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-12-2011, 11:41 AM,  
				 
				
			 | 
		 
		
			| 
				
			 | 
		 
		
			| 
				  
				 
					I'm getting this again so I first need to know what is the correct encoding for the lng file. 
 
Thanks.
				 
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-13-2011, 06:19 AM,  
				 
				
			 | 
		 
		
			
				
					
						| 
							
						 | 
						
							NaN 
 
 
							
								Posting Freak 
								      
								
							
						 | 
						
							
	Posts: 2,024 
	Threads: 120 
	Joined: Jan 2010
	
						 | 
					 
				 
			 | 
		 
		
			
				  
				
					Depends on the language. See  http://en.wikipedia.org/wiki/Windows-1252 for Spanish.
 
We could move to utf, just need to include utf->cp mappings, and have a fallback for missing characters.
				  
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-13-2011, 07:37 AM,  
				 
				
			 | 
		 
		
			| 
				
			 | 
		 
		
			
				  
				
					Oops Thanks. I don't know much about the topic but I'll try   
				 
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-14-2011, 04:32 PM,  
				 
				
			 | 
		 
		
			| 
				
			 | 
		 
		
			
				  
				
					Here my little python script for encoding CP1512 from UTF-8: 
Code: #!/usr/bin/env python 
 
import sys 
import os 
 
f = file(sys.argv[1], 'r')      # From. 
t = file(sys.argv[2], 'w')      # To. 
 
for c in f.readlines(): 
        u = unicode(c, "UTF-8") 
        try: 
                t.write(u.encode("cp1252")) 
        except: 
                t.write(u.encode("iso-8859-15")) 
 
f.close() 
t.close()
 
Very simple   . What do you think?
				  
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-14-2011, 04:51 PM,  
				 
				
			 | 
		 
		
			| 
				
			 | 
		 
		
			| 
				  
				 
					One thing I'm noticing is that strings are completely unordered and I think some of them aren't used. I think they should be updated, ordered and deleted ones should be suppressed.
				 
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-16-2011, 06:26 PM,  
				 
				
			 | 
		 
		
			| 
				
			 | 
		 
		
			| 
				  
				 
					I think they need a cleanup but I don't deeply understand how menus are generated. I will work in the translation (Half of the work has been done) and will leave reorganization for later. 
 
Thanks
				 
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	
		
			| 
				 
					10-18-2011, 06:59 PM,  
				 
				
			 | 
		 
		
			
				
					
						| 
							
						 | 
						
							BiGBeN87 
 
 
							
								Junior Member 
								   
								
							
						 | 
						
							
	Posts: 20 
	Threads: 4 
	Joined: Sep 2011
	
						 | 
					 
				 
			 | 
		 
		
			
				  
				
					NaN Wrote:We are using codepages, see skins/simple/languages. 
Thanks for the pointer. I have completed the german translation:
 
 https://github.com/bigben87/VDrift-Data/...4865210478
I created a Pull Request, too:
 https://github.com/bigben87/VDrift-Data/pull/1
				 
				
				
				
				
				 
			 | 
		 
		
			| 
				
				
			 | 
		 
	
 
	 
 |