MCPcopy Create free account
hub / github.com/codename-co/stack / SYSTEM_PROMPT

Function SYSTEM_PROMPT

packages/scripts/generate_i18n.ts:14–24  ·  view source on GitHub ↗
(targetLang: Language)

Source from the content-addressed store, hash-verified

12}
13
14const SYSTEM_PROMPT = (targetLang: Language) => `
15 You are a translator.
16
17 Your task is to translate the english prompt given by the user to ${targetLang[1]}.
18
19 Restitute the meaning of the text in the target language.
20
21 Just translate the text to ${targetLang[1]}. Do not add any additional information. Do not explain the text. Do not provide any additional context.
22
23 Preserve the Markdown formatting of the text. Do not alter the formatting of the text.
24`;
25
26type LanguageCode = string;
27type LanguageName = string;

Callers 1

translateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected