mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	use google's api to change language
This commit is contained in:
		
							parent
							
								
									4fc2bbd786
								
							
						
					
					
						commit
						464d59b957
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		|  | @ -16,6 +16,11 @@ if (isRunningOnTravisAndIsNotPRBuild) { | ||||||
| 
 | 
 | ||||||
| dependencies { | dependencies { | ||||||
| 
 | 
 | ||||||
|  |     def appcompat_version = "1.7.0" | ||||||
|  |     implementation "androidx.appcompat:appcompat:$appcompat_version" | ||||||
|  |     // For loading and tinting drawables on older versions of the platform | ||||||
|  |     implementation "androidx.appcompat:appcompat-resources:$appcompat_version" | ||||||
|  | 
 | ||||||
|     // Utils |     // Utils | ||||||
|     implementation 'in.yuvi:http.fluent:1.3' |     implementation 'in.yuvi:http.fluent:1.3' | ||||||
|     implementation 'com.google.code.gson:gson:2.8.5' |     implementation 'com.google.code.gson:gson:2.8.5' | ||||||
|  | @ -387,6 +392,9 @@ android { | ||||||
|         abortOnError false |         abortOnError false | ||||||
|         disable 'MissingTranslation', 'ExtraTranslation' |         disable 'MissingTranslation', 'ExtraTranslation' | ||||||
|     } |     } | ||||||
|  |     androidResources { | ||||||
|  |         generateLocaleConfig true | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| String getTestUserName() { | String getTestUserName() { | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								app/src/main/res/resources.properties
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								app/src/main/res/resources.properties
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | unqualifiedResLocale=en-US | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 u7759158
						u7759158