Class: Packages::FieldTranslationService

Inherits:
Restaurants::FieldTranslationService show all
Defined in:
app/services/packages/field_translation_service.rb

Overview

Service for translating a single package field without saving to database Returns translated text for frontend to populate form inputs Reuses the same translation logic as restaurant field translation

Constant Summary

Constants inherited from Restaurants::FieldTranslationService

Restaurants::FieldTranslationService::SUPPORTED_LANGUAGES

Instance Attribute Summary

Attributes inherited from Restaurants::FieldTranslationService

#field_name, #source_language, #source_text, #target_languages

Method Summary

Methods inherited from Restaurants::FieldTranslationService

#call, #initialize

Constructor Details

This class inherits a constructor from Restaurants::FieldTranslationService