translation

package
v0.1.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service translates aggregated movie metadata using a configured provider.

func New

New creates a new translation service for the provided config.

func (*Service) TranslateMovie

func (s *Service) TranslateMovie(ctx context.Context, movie *models.Movie) (*models.MovieTranslation, error)

TranslateMovie translates configured textual fields and optionally applies them to primary movie fields. It returns a target-language translation record when translation work was performed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL