Giter VIP home page Giter VIP logo

Comments (4)

ira-sem avatar ira-sem commented on August 29, 2024

Hi @josephjthomas! Will double-check this and update you as soon as possible!

from github-action.

VBeytok avatar VBeytok commented on August 29, 2024

Hi @josephjthomas!
You need to add one more env property, this is GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}, if that doesn't help, please share the output of the github action.

from github-action.

josephjthomas avatar josephjthomas commented on August 29, 2024
2021-11-17T10:13:16.8351729Z STARTING CROWDIN ACTION
2021-11-17T10:13:16.8352361Z UPLOAD SOURCES
2021-11-17T10:13:20.0830650Z ✔️  Fetching project info
2021-11-17T10:13:21.1244739Z ✔️  File 'lang.json'
2021-11-17T10:13:21.3351767Z DOWNLOAD TRANSLATIONS
2021-11-17T10:13:24.1996935Z ✔️  Fetching project info
2021-11-17T10:13:24.2045276Z ✔️  Building ZIP archive with the latest translations
2021-11-17T10:14:00.0977312Z ✔️  Building translation (100%)
2021-11-17T10:14:00.5848757Z ✔️  Downloading translations
2021-11-17T10:14:00.7150690Z ✔️  Extracting archive
2021-11-17T10:14:00.7409855Z ✔️  Extracted: 'main/src/main/resources/lang/en/lang.json'
2021-11-17T10:14:00.7617239Z ⚠️  Downloaded translations don't match the current project configuration. The translations for the following sources will be omitted (use --verbose to get the list of the omitted translations):
2021-11-17T10:14:00.7633292Z 	- master/main/src/main/resources/lang/lang.json (1)
2021-11-17T10:14:00.7634288Z 	- crowdin-translations/lang.json (1)
2021-11-17T10:14:01.0064265Z Post job cleanup.

It looks like it tries to place them in a folder called master. The default branch is "main" and the root folder is "main" too.
My crowdin.yml contains the following entries:

base_path: .
base_url: "https://ourdomain.crowdin.com/"
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN

files:
  - source: main/src/main/resources/lang/lang.json
    translation: >-
      main/src/main/resources/lang/%two_letters_code%/%original_file_name%

from github-action.

VBeytok avatar VBeytok commented on August 29, 2024

@josephjthomas to create pull request you need to set option push_translations: true
about Downloaded translations don't match the current project configuration. maybe you have folder or branch master in Crowdin project?

from github-action.

Related Issues (20)

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.