Editing translations
Problem
You want to edit a translation that was generated by Lingo.dev Compiler.
Solution
-
Open the
lingo/dictionary.js
file:export default { version: 0.1, files: { "App.tsx": { entries: { "1/body/0/argument/1": { content: { en: "Start prompting (or editing) to see magic happen :)", es: "¡Empieza a escribir (o editar) para ver la magia suceder! :)", }, hash: "fe1cdb8d561fcfa87dd6a4ce2c0c5b96", }, }, }, }, };
The exact location of this file depends on the values of
sourceRoot
andlingoDir
. To learn more, see Compiler Options. -
Find the object that contains the translation to be edited.
-
Edit the object's
content
property. -
Save the file.
Warning: Your changes will be overwritten if the original source text is updated. To avoid this, consider overriding translations instead of editing them.