Skip to content

Language setting for the app provider #4367

Closed

Description

@wkloucek

Is your feature request related to a problem? Please describe.

Opening a file with the app provider does not use the language of oC Web because there is currently no way to pass the language as a parameter.

Describe the solution you'd like

oC Web passes a parameter to the /app/open endpoint with the language, the use has configured for oC Web.
The language option will then be added eg. to the WOPI open parameters (UI_LLCC / lang) or the respective parameter for other apps (but transparent to oC Web).

If the language is not provided, the current default applies. Currently some apps try to detect the primary language of the browser, other apps have hardcoded defaults.

Describe alternatives you've considered

oC Web injects the language into the apps directly. Downside is that oC Web needs to do how to do it for every app.

Additional context

Activity

  1. added
    Priority:p1-urgent
    and removed on Aug 10, 2022
  2. kulmann commented on Aug 11, 2022

    @kulmann
    Contributor

    If you can decide the naming of the additional param for the open request we can already pass it from web.

  3. self-assigned this
    on Aug 16, 2022
  4. wkloucek commented on Aug 16, 2022

    @wkloucek
    ContributorAuthor

    If you can decide the naming of the additional param for the open request we can already pass it from web.

    I created PRs in REVA and oCIS that will add the lang parameter documented here: https://github.com/owncloud/ocis/blob/1646b0b5af98747d16d0a54c200f437254f435d9/docs/services/app-registry/apps.md#open-a-file-with-the-app-provider (coming from #4399)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p1-urgentType:Story

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions