Closed tuxes3 closed 2 years ago
Hi,
I have a project with 3 languages: German (Main) de, German - Custom de_custom, French fr
de
de_custom
fr
As you see I renamed a language to fit my business case. (We need to be able to provide multiple accents per language, not only the default ones)
The Graphql api still returns the original language name and slug.
Prerequisites
Query This query should give me all files and all languages present in the project.
query Translations($projectId: ID!) { viewer { project(id: $projectId) { documents { entries { id path format } } revisions { isMaster id language { slug name id } } } } }
Excepted Result
... { "id": "~~some id~~", "isMaster": false, "language": { "id": "~~some id~~", "name": "German, Custom", "slug": "de_CUSTOM" } } ...
Actual Result
... { "id": "~~some id~~", "isMaster": false, "language": { "id": "~~some id~~", "name": "German, Switzerland", "slug": "de-CH" } }, ...
The overwrites are not propagated in the language. We have name and slug on the revision object 😄
You are right. Thanks for helping!
Hi,
I have a project with 3 languages: German (Main)
de
, German - Customde_custom
, Frenchfr
As you see I renamed a language to fit my business case. (We need to be able to provide multiple accents per language, not only the default ones)
The Graphql api still returns the original language name and slug.
Prerequisites
Query This query should give me all files and all languages present in the project.
Excepted Result
Actual Result