Modules@robinpath/translate

@robinpath/translate

0.1.0Public

Translate module for RobinPath.

@robinpath/translate

Translate module for RobinPath.

Category Functions Auth License

Why use this module?

The translate module lets you:

  • translateText
  • translateBatch
  • detectLanguage
  • listLanguages
  • getSupportedLanguagePairs

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/translate

Quick Start

No credentials needed — start using it right away:

translate.translateBatch

Available Functions

FunctionDescription
translate.translateTexttranslateText
translate.translateBatchtranslateBatch
translate.detectLanguagedetectLanguage
translate.listLanguageslistLanguages
translate.getSupportedLanguagePairsgetSupportedLanguagePairs
translate.translateHtmltranslateHtml
translate.suggestTranslationsuggestTranslation
translate.getTranslationMemorygetTranslationMemory
translate.autoTranslateautoTranslate
translate.setProvidersetProvider

Examples

translateBatch

translate.translateBatch

detectLanguage

translate.detectLanguage

listLanguages

translate.listLanguages

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/translate";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  translate.translateBatch
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/translate
Version0.1.0
LicenseMIT
Unpacked Size3.6 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

ai