[FOLIO-2900] Update lokalise-to-github script to use non-deprecated calls to Lokalise Created: 04/Dec/20  Updated: 30/Dec/20  Resolved: 30/Dec/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: TBD
Reporter: Peter Murray Assignee: Peter Murray
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks FOLIO-2912 Import es_ES translations into FOLIO Closed
Sprint: DevOps: Sprint 104
Development Team: FOLIO DevOps

 Comments   
Comment by Peter Murray [ 04/Dec/20 ]

v2 of their API doesn't have the equivalent function. Have sent a message to Lokalise tech support:

The old file export API used to have a parameter called "no_language_folders" that would give me a directory structure of:
.
├── translations
│   └── ui-search
│       └── ar.json
│       └── ber.json
│       └── ca.json
│       ....
│   └── stripes-core
│       └── ar.json
│       └── ber.json
│       └── ca.json

The v2 API doesn't have that option and doesn't seem to have a way of replicating that file structure.  Am I missing something?
Comment by Peter Murray [ 30/Dec/20 ]

Refactoring complete.

Generated at Thu Feb 08 23:24:05 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.