Pass current locale to the API #205

Closed
opened 2023-04-12 18:24:06 +03:00 by inex · 2 comments

I'm working right now on the localized strings on the API side. They will be based on the Accept-Language header passed in GraphQL requests, the same way as we use Authorization header. This must be set to the curren app language,example values are en, ru, es.

When API starts supporting it, service descriptions, job names and error messages will be in the requested language, with the english as a fallback.

I'm working right now on the localized strings on the API side. They will be based on the `Accept-Language` header passed in GraphQL requests, the same way as we use `Authorization` header. This must be set to the curren app language,example values are `en`, `ru`, `es`. When API starts supporting it, service descriptions, job names and error messages will be in the requested language, with the english as a fallback.
NaiJi was assigned by inex 2023-04-12 18:24:06 +03:00
NaiJi added the
Feature request
label 2023-04-13 09:41:15 +03:00
Collaborator

Is pending on PR 243.

Is pending on [PR 243](https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/243).
NaiJi closed this issue 2023-07-26 00:37:32 +03:00
Collaborator

Related issue: 172.

Related issue: [172](https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/172).
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#205
There is no content yet.