Skip to content
New issue

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

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

Already on GitHub? # to your account

Is it possible to implement params to enable translation #64

Closed
1 task done
igisho opened this issue Sep 6, 2023 · 3 comments
Closed
1 task done

Is it possible to implement params to enable translation #64

igisho opened this issue Sep 6, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@igisho
Copy link

igisho commented Sep 6, 2023

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Mastodon implemented this: mastodon/mastodon#19218

Reason for change

It would be helpfull

Proposed code change

Add enviroment variable with option to enable translation and api key for service.

@igisho igisho added the enhancement New feature or request label Sep 6, 2023
@github-actions
Copy link

github-actions bot commented Sep 6, 2023

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thespad
Copy link
Member

thespad commented Sep 6, 2023

It should just work, we pass all environment variables through to the application.

@YourAutisticLife
Copy link

Yes, it does work. In docker-compose.yml, for instance, you just need to set the DEEPL variables in your environment for mastodon:

    environment:
      - PUID=1000
      - PGID=1000
      [...]
      - DEEPL_API_KEY=[whatever]
      - DEPPL_PLAN=free

@igisho igisho closed this as completed Sep 14, 2023
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 14, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants