Skip to content

Language in dataviewjs shows english text instead of german when the plugin is active. #20

@merlinuwe

Description

@merlinuwe

Thanks for your great plugin.

I found an easily reproducible bug:

I use this dataviewjs snippet:

```dataviewjs
const changed = moment(dv.current().geändert, "LLLL", "de")
const today = moment()
const changed_duration = moment.duration(today - changed)
dv.paragraph("Etwa <i>" + changed_duration.humanize()+"</i> seit der letzten Änderung.")
```

dataviewjs - Zeit vergangen seit der letzten Änderung (dt.).md

When your plugin and dataview plugin are _active, I see this:

image

When your plugin is deactivated,

and

after a restart of obsidian, I see this:

image

SYSTEM INFO:
Obsidian version: v1.5.12
Installer version: v1.5.12
Operating system: Windows 10 Home 10.0.19045
Login status: not logged in
Insider build toggle: off
Live preview: off
Base theme: dark
Community theme: MagicUser v19.5.0
Snippets enabled: 25
Restricted mode: off
Plugins installed: 143
Plugins enabled: 1
1: Dataview v0.5.66

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions