Rename filename in UI #6537
-
Hey there! Context
Current solutionAt the moment, if we create a new language within our component, the filename is automatically But our application needs to download the file as ssh [email protected]
sudo docker exec -it weblate /bin/bash # This is our docker container
cd /app/data/vcs/{project}/{component}
mv real-category-library-es.po real-category-library-es_ES.po
git add -A
git commit -m "Renamed translation file using SSH (Spanish)" Afterwards, we need to let Weblate know about this change and navigate to Expected solutionA proposal would be to change the filename within the "Information" tab besides the "Download" button or define the filename when starting a new translation. EDIT: Or is there another feature we need to use to define the filename? I just saw that we are using the What do you think? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I just found the solution. Instead of using the simple |
Beta Was this translation helpful? Give feedback.
-
You can also define custom mapping for the language codes using https://docs.weblate.org/en/latest/admin/projects.html#language-aliases |
Beta Was this translation helpful? Give feedback.
I just found the solution. Instead of using the simple
POSIX with underscore
language code style, I need to use thePOSIX with underscore, including country code
. (language_code_style=posix_long
)