mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Only attempt to load one locale per catalog
This commit is contained in:
		| @@ -19,13 +19,14 @@ RED.i18n = (function() { | ||||
|     return { | ||||
|         init: function(done) { | ||||
|             i18n.init({ | ||||
|                 resGetPath: 'locales/__ns__?lang=__lng__', | ||||
|                 resGetPath: 'locales/__ns__', | ||||
|                 dynamicLoad: false, | ||||
|                 load:'current', | ||||
|                 ns: { | ||||
|                     namespaces: ["editor","node-red"], | ||||
|                     defaultNs: "editor" | ||||
|                 }, | ||||
|                 fallbackLng: ['en'] | ||||
|                 fallbackLng: ['en-US'] | ||||
|             },function() { | ||||
|                 done(); | ||||
|             }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user