Add user content translations with configurable backends (#19218)
This commit is contained in:
parent
d2f7e30a28
commit
0d6b878808
16 changed files with 306 additions and 11 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue