mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-10-30 17:54:57 +00:00 
			
		
		
		
	Fix translation issue
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| import 'dart:convert'; | ||||
|  | ||||
| import 'package:flutter/services.dart'; | ||||
| import 'package:intl/date_symbol_data_local.dart'; | ||||
| import 'package:intl/intl_standalone.dart'; | ||||
|  | ||||
| /// Internationalization utilities | ||||
| @@ -15,6 +16,7 @@ Map<String, Map<String, String>> translations; | ||||
| /// This method currently fetch the current user language | ||||
| Future<void> initTranslations() async { | ||||
|   _currLang = await findSystemLocale(); | ||||
|   await initializeDateFormatting(_currLang, null); | ||||
|  | ||||
|   // Load the list of translations | ||||
|   final list = Map<String, String>.from( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user