Add user content translations with configurable backends (#19218)
This commit is contained in:
5
app/lib/translation_service/translation.rb
Normal file
5
app/lib/translation_service/translation.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class TranslationService::Translation < ActiveModelSerializers::Model
|
||||
attributes :text, :detected_source_language
|
||||
end
|
Reference in New Issue
Block a user