mirror of
				https://github.com/XRPLF/xrpl-dev-portal.git
				synced 2025-11-04 11:55:50 +00:00 
			
		
		
		
	Add script for message generation
- set TZ to UTC(+0)
This commit is contained in:
		
							
								
								
									
										10
									
								
								tool/generate_all_message.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								tool/generate_all_message.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
## Run from the root directory of the repo to generate & compile all messages
 | 
			
		||||
 | 
			
		||||
TZ="UTC" pybabel extract -F ./locale/babel.cfg -o ./locale/messages.pot ./
 | 
			
		||||
 | 
			
		||||
pybabel update -l ja -d ./locale/ -i ./locale/messages.pot 
 | 
			
		||||
pybabel update -l hi -d ./locale/ -i ./locale/messages.pot 
 | 
			
		||||
 | 
			
		||||
pybabel compile -f -d ./locale/
 | 
			
		||||
		Reference in New Issue
	
	Block a user