mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +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 { | ||||
| 
 | ||||
|     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 | ||||
|     implementation 'in.yuvi:http.fluent:1.3' | ||||
|     implementation 'com.google.code.gson:gson:2.8.5' | ||||
|  | @ -387,6 +392,9 @@ android { | |||
|         abortOnError false | ||||
|         disable 'MissingTranslation', 'ExtraTranslation' | ||||
|     } | ||||
|     androidResources { | ||||
|         generateLocaleConfig true | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| 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