So, after a while o writing few Telegram bots, I realized that multiple language support is always appreciated if the public doesn't speak the original language. To work around this, I got inspired by the Laravel approach, a big associative array.
The code is published at https://github.com/daniel-lucio/multilingual-support after you download you have to create the language files, for example, es.php, en.php, fr.php and so on. The following example is just for the /start command utilizing the Longman PHP library.
So I got a lot of comments about people not being able to use my RPMs. I have decided to load this small video. Showing how it works.
Please note that I am using a brand new CentOS 8 minimal installation.
Crops out a 93 pixel lower band:
ffmpeg -i 4.mp4 -filter_complex "[0:v]crop=in_w:in_h-93:0:0[cropped]" -map "[cropped]" 4a.mp4
Crops out a 34 pixel lower band:
convert 5.jpg -gravity South -chop 0x34 5a.jpg
Cuts out the last N seconds. -t needs to be the total length of the video, you must have to know the video length (in seconds) and specify the t parameter with the right value.
ffmpeg -i setup.mp4 -t 233 -c copy output.mp4