Move translation service config to config_for
yml (#30663)
This commit is contained in:
parent
5a4f4f3e83
commit
35f008aa2a
3 changed files with 24 additions and 5 deletions
7
config/translation.yml
Normal file
7
config/translation.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
shared:
|
||||
deepl:
|
||||
api_key: <%= ENV.fetch('DEEPL_API_KEY', nil) %>
|
||||
plan: <%= ENV.fetch('DEEPL_PLAN', 'free') %>
|
||||
libre_translate:
|
||||
api_key: <%= ENV.fetch('LIBRE_TRANSLATE_API_KEY', nil) %>
|
||||
endpoint: <%= ENV.fetch('LIBRE_TRANSLATE_ENDPOINT', nil) %>
|
Loading…
Add table
Add a link
Reference in a new issue