about summary refs log tree commit diff
path: root/app/lib/translation_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/translation_service.rb')
-rw-r--r--app/lib/translation_service.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/lib/translation_service.rb b/app/lib/translation_service.rb
index 285f30939..bfe5de44f 100644
--- a/app/lib/translation_service.rb
+++ b/app/lib/translation_service.rb
@@ -21,6 +21,10 @@ class TranslationService
     ENV['DEEPL_API_KEY'].present? || ENV['LIBRE_TRANSLATE_ENDPOINT'].present?
   end
 
+  def languages
+    {}
+  end
+
   def translate(_text, _source_language, _target_language)
     raise NotImplementedError
   end