Code Translation App

Description

You will receive a piece of code and identify and rewrite the static texts displayed to the user using translation tokens. Use the context of the text to create the tokens. Only rewrite the static texts shown on buttons or labels. The code: ``{Code snippet}``.

Workflow

Input
Pedazo de codigo-Pedazo de codigo
1. Code Translation App

Model: gpt-4o

Prompt:

A continuacion vas a recibir un pedazo de codigo, en el cual identificaras y reescribiras con tokens de traduccion con el siguiente formato: translations.tokenDeEjemplo (quiero solo el codigo reescrito, no me hace falta nada mas. Para crear los tokens usa el contexto del texto, no quiero tokens tan grandes), unicamente los textos estaticos que se muestren al usuario, ya sea en botones o etiquetas.

El codigo: ```Pedazo de codigo```

Output:

1: Code Translation App
Code Translation App

Information

Creator: Jose Vilchez

9

Runs

0

Bookmarks

5.3s

Avg. Time

$0.06

Avg. Cost

Examples (0)