Giter Site home page Giter Site logo

Comments (4)

pjsier avatar pjsier commented on June 11, 2024 1

We're now using npm consistently, the AWS CLI is mentioned in the deploy docs, and I added some documentation on how i18n works. Is the README clearer now?

from chi-covid-resources.

pjsier avatar pjsier commented on June 11, 2024

Thanks for this! Yeah, the Google sheet isn't really documented and was a shortcut for being able to load translations quickly from a sheet multiple translators were editing. It's also using a Python script which might be simpler to remove or rewrite in node. Moving to npm probably makes sense, yarn is mostly force of habit for me and I think is in the Gatsby starter.

The benefit of the Makefile for the deploy is that it makes multiline scripts easier, in particular the setup for cache invalidation by language here. It's also something I'm used to though, so it may be simpler to do in a node script

from chi-covid-resources.

easherma avatar easherma commented on June 11, 2024

Thanks for the explanation! IMO re: rewriting stuff from python to node or from Makefile into the package.json I think just documenting the purpose of these pieces is fine, I don’t see a need to rewrite them at this time.

But I do think being consistent with npm and/or yarn would be helpful. I can also add stuff to the docs about installing aws CLI, since thats a dependency for deploying that currently isn’t documented.

Thanks again for filling in those details!

from chi-covid-resources.

easherma avatar easherma commented on June 11, 2024

Yeah I think so! The main reason why you'd want to set up that google sheet would be to assist in translating content, right? In this case it would be if you wanted to re-translate existing copy? Does the script replace everything that is already in the generated files? That might be a good thing to be explicit about; I assume for most cases you'd probably not want to re translate everything but just replace some content around the name of a city, etc.

Good note about the list of supported languages; I had made a note of checking into that. I reckon some orgs might want to slowly roll out language support depending on their needs or capacity.

from chi-covid-resources.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.