Coder Social home page Coder Social logo

lukaszh77 / jointhefediverse.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jointhefediverse-net/jointhefediverse.net

0.0 0.0 0.0 4.64 MB

Polish translation

Home Page: https://jointhefediverse.net

License: MIT License

JavaScript 20.62% CSS 27.26% Handlebars 51.57% Dockerfile 0.55%

jointhefediverse.net's Introduction

Logos of various fediverse platforms arranged in a circle, with little envelopes being sent between them.

JoinTheFediverse.net

Learn about the fediverse and find your new community.

Development

This projects uses node 18.13.0.

#install dependencies
npm install

# start development server
npm start dev

Note that there is an open ticket to migrate the styles to SCSS, which will also require adding a build step.

Translation

Before you begin translating the site:

The current translation workflow is described below. If you don't have a GitHub account, or prefer not to use it, feel free to follow steps 1 through 3 and send the translated files via email.

Otherwise, you can fork this repo, make the necessary changes, and open a pull request.

Step 4 does not require installing project dependencies, but you will need node installed.

  1. Navigate to the translations folder.
  2. Add a new language section inside the info.json file. If you need help with this step, please reach out!
    {
        "label": "Native name of the language",
        "label_en": "English name of the language",
        "label_lat": "latinized native name of the language, used for sorting",
        "lang_dir": "the direction of the languaue, LTR (left-to-right) or RTL (right-to-left)",
        "code": "the ISO 639-1 language code, see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes",
        "available": true, // Should the language be visible in the language picker? true or false
        "translators": [ // List of people who contributed to the translation
            {
                "name": "Person A",
                "url": "https://example.social/@person_a"
            },
            {
                "name": "Person B",
                "url": "https://example.social/@person_b"
            }
        ]
    },

Please note that label_lat should be a latinized (or transliterated) version of the English name of the language. This is needed for a more natural alphabetical sorting in the language picker menu. For example, for Spanish:

"label": "Español",
"label_en": "Spanish",
"label_lat": "espanol",
  1. Update the JSON files inside the data folder for each page and selected site sections.

If you're working with a local copy of the site, you will need to run npm run translate to compile translation files inside the locales directory. These files are not committed to the repo and will be generated during site deployment.

Keep in mind that the goal is to communicate the same ideas to an audience in a different culture. For example, in this sentence:

You're probably using Gmail. Or perhaps Outlook. Or Yahoo Mail.

Consider listing services that are popular in your particular country.

Pravdepodobne používaš Gmail. Alebo Zoznam.sk. Možno Centrum.sk.

jointhefediverse.net's People

Contributors

stefanbohacek avatar jarskait avatar rkbwde avatar hoteit avatar frankmeeuwsen avatar lukaszh77 avatar deimidis avatar

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.