mirror of
				https://gitlab.com/ruany/litebans-php.git
				synced 2025-10-30 06:22:24 +00:00 
			
		
		
		
	Update lang/README.md
This commit is contained in:
		
							parent
							
								
									a2b751be95
								
							
						
					
					
						commit
						b51d269b30
					
				| @ -12,7 +12,7 @@ class Lang { | |||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
| - Translate all array assignments, e.g. `$array["title.bans"] = 'Baneos';` | - Translate all array assignments, e.g. `$array["title.bans"] = 'Baneos';` | ||||||
| - Edit settings.php, set `this->lang` to your locale. Example: `$this->lang = 'es_ES.utf8';` | - Edit inc/settings.php, set `this->lang` to your locale. Example: `$this->lang = 'es_ES.utf8';` | ||||||
| 
 | 
 | ||||||
| All messages not translated by the main locale will be translated by the fallback locale (en_US.utf8). | All messages not translated by the main locale will be translated by the fallback locale (en_US.utf8). | ||||||
| Thus, if your locale is outdated (if new messages are added to en_US), those new messages will be in English. | Thus, if new messages are added to en_US, those new messages will be in English until your locale is updated to include translations for the new messages. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ruan
						ruan