Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

skos-label: should respect inherited language #18

@nichtich

Description

@nichtich

If not lang attribute is specified, the language could be searched for at the parent elements. See jQuery implementation of :lang(). In addition the browser language could be queried, as implemented [http://angular-translate.github.io/docs/#/guide/07_multi-language](in angular-translate) with method determinePreferredLanguage().

The observer could call this code on each $digest loop to detect language changes, but watching all parent elements might be quite slow. Passing language attributes from one element to another, however, might be slow as well.

See also

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions