mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	In this commit, we add a new dropdown 'Organization language' on the `/new` and `/realm/register` pages. This dropdown allows setting the language of the organization during its creation. This allows messages from Welcome Bot and introductory messages in streams to be internationalized. Fixes a part of #25729.
		
			
				
	
	
		
			21 lines
		
	
	
		
			536 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			536 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 4.2.5 on 2023-09-12 19:58
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
|     dependencies = [
 | |
|         (
 | |
|             "zerver",
 | |
|             "0483_rename_escape_navigates_to_default_view_realmuserdefault_web_escape_navigates_to_home_view_and_more",
 | |
|         ),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AddField(
 | |
|             model_name="preregistrationrealm",
 | |
|             name="default_language",
 | |
|             field=models.CharField(default="en", max_length=50),
 | |
|         ),
 | |
|     ]
 |