Git Product home page Git Product logo

translationfiles's Introduction

TranslationFiles

All the necessary files to generate translation packs for PrestaShop.

Create gzip archive

tar -czf $destination$iso.gzip --directory="$folder" 

How to download data

For 1.6 and 1.7 versions, endpoints follow this structure: https://i18n.prestashop.com/translations/1.7.6.0/es-ES/es-ES.zip

For 8 and higher versions, endpoints follow this structure: https://i18n.prestashop-project.org/translations/8.1.0/es-ES/es-ES.zip

License

All translations are licensed under the OSL-3.0 license

Automatic updates and workflows

This repository hosts the content of the PrestaShop Internationalization API http://i18n.prestashop-project.org/

The detailed documentation is located in the README of the project https://github.com/PrestaShopCorp/TranslationTool.

The TranslationTool repository is unfortunately not public for now.

Here is a short summary of the documentation

Each PrestaShop major version has its dedicated catalogs stored in different folders of the repository.

The repository contains three branches for the three available environments:

  • master branch for production environment
  • preproduction branch for preproduction environment
  • integration branch for integration environment

The master branch should never be removed or modified manually. The other two branches can be used for test and dev purposes and can be removed without worry as the automatic workflow will recreate them anyway.

The content of this repository is pushed to a GCP (Google Cloud) bucket after they have been updated for each language.

This step is run automatically everyday by a push Github action configured on the TranslationFiles repository.

This operation is defined in this workflow file.

You can see the builds and reports of these automatic actions here https://github.com/PrestaShop/TranslationFiles/actions/workflows/automatic_push_archives_to_bucket.yml

Configuration

For this Github Action to work you will need to define two secrets:

Secret name Description
CREDENTIALS_JSON A Service Account key file to be able to push on the GCP bucket. This variable is set in environment variables as it is not the same for all environements.
TRANSLATION_TOOL_TOKEN A GitHub personal access token that allows cloning the PrestaShopCorp/TranslationTool repository

Environments

  • http://i18n.prestashop-project.org/ for production environment
  • http://i18n-preproduction.prestashop-project.org/ for preproduction environment
  • http://i18n-integration.prestashop-project.org/translations/8.0.0/available_languages.json for integration environment

translationfiles's People

Contributors

atomiix avatar eternoendless avatar jolelievre avatar jrosa06 avatar julienbourdeau avatar julievrz avatar littlebigdev avatar matks avatar matthieu-rolland avatar maximebiloe avatar pierrerambaud avatar progi1984 avatar ps-jarvis avatar quetzacoalt91 avatar toutantic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.