Routines plugin - Problems with switching language

I can’t set it up to show the current day at start. I use the code

[contains:day<now DDD>]

as decribed in the wiki.

Seems as if it only works with tiddlywiki set to englisch language. When I switch to german it doesn’t show up. How can I modify it to work with german language or make it multilanguage compatible?

That’s right. All the days and other tags are hardcoded. See the tiddler: $:/tlw/routines/footer

So you would need to change them. – All tiddlers used in the wiki start with: $:/tlw/ So you can search for them and see how it’s done.

To use dynamic language specific values it would be needed to use the core: $:/language/Date/Long/Day/* tiddlers.

1 Like

So that there is perhaps no misunderstanding:
I am only concerned with the fact that the current day Tiddler should open during startup, which it does not do with the code described above if the language is set to German. Everything else works. I just have to open the respective day tiddler manually at each startup, which I find a bit inconvenient. I don’t want to change everything to German language.

The now-macro gives you Mittwoch instead of Wednesday – So everywhere where the now-macro is used in the code, it will do the wrong thing.

So I am pretty sure, that it does not work in the right way if language is switched to German.

It should be relatively straight forward to implement the functionality to handle different languages.

But — Switching between different languages in the same wiki and doing the right things, with different language tiddlers visible at the same time, will be much more complex.

1 Like

Thanks for the explanation. :slight_smile: