Skip to content

Added translation for filename #863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Added translation for filename #863

merged 1 commit into from
Jul 6, 2022

Conversation

tomovicj
Copy link
Contributor

@tomovicj tomovicj commented Jul 5, 2022

Description

If POSTLANG in .env file is set, the final filename will be translated to the chosen language.
If POSTLANG is empty, no translation will be done.

No new dependencies introduce.

Issue Fixes

None

Checklist:

  • I am pushing changes to the develop branch
  • I am using the recommended development environment
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have formatted and linted my code using python-black and pylint
  • I have cleaned up unnecessary files
  • My changes generate no new warnings
  • My changes follow the existing code-style
  • My changes are relevant to the project

Any other information (e.g how to test the changes)

I added just a few lines of code so I don't think it's necessary to add comments to my code it is pretty simple and self-explanatory.

For testing just run the script with empty POSTLANG in .env and after that try setting some language code.
Make sure to use google translate or some voice that supports the chosen language 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants