Created
March 21, 2024 20:55
-
-
Save stefanpejcic/701fe98ab873120378f7c7de9d75e030 to your computer and use it in GitHub Desktop.
Install TR for OpenPanel 0.1.5+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# | |
# install and enable tr locale for openpanel | |
# | |
### | |
cd /usr/local/panel && pybabel init -i messages.pot -d translations -l tr | |
wget -O /usr/local/panel/translations/tr/LC_MESSAGES/messages.po https://raw.githubusercontent.com/stefanpejcic/openpanel-translations/main/tr-tr/messages.pot | |
pybabel compile -d translations | |
service panel reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment