🚀 Welcome translate files!
install in project
npm i translate-files
import { translateFileCsv } from "translate-files";
or
const { translateFileCsv } = require("translate-files");
usign
translateFileCsv(idDocument,routeFolderSave)
-
Open url and duplicate file in your google drive.
-
Share document
- give read permission
- copy link
- get document ID from url
document base spreadsheets translations

- duplicate document in yout drive


- We add our translations by editing the base column
- key: the unique key we use in our app to translate text
- base: the text that we enter so that spreadsheets creates the translations automatically
- es,en,it,fr: base languages that the template has, you can add or remove languages


- brings the following as a base configuration

- we update it as follows and click on done

- we extract the document id from our url

translateFileCsv('19sxdh1WE5RMXiuTWuMJonu81NWrewZbZ','./translations')



