12 lines
		
	
	
		
			347 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			347 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class GetSystemLanguage(LnxLogicTreeNode):
 | |
|     """Returns the language of the current system."""
 | |
|     bl_idname = 'LNGetSystemLanguage'
 | |
|     bl_label = 'Get System Language'
 | |
|     lnx_section = 'Native'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_output('LnxStringSocket', 'Language')
 |