Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

translate-files

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

translate-files

convert translations files csv spreadsheets easy

unpublished
latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

🚀 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

image

  • duplicate document in yout drive

image

  • we give our copy a name

image

  • 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

image

  • we press share

image

  • brings the following as a base configuration

image

  • we update it as follows and click on done

image

  • we extract the document id from our url

image

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

image

  • en

image

  • es

image

  • fr

image

Keywords

translate

FAQs

Package last updated on 15 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts