I’m trying to set some buttons/lights on my watch face which highlights the current day of week.
At the moment I just have some static text fields in English e.g. Mon, Tue, Wed, Thu, Fri, Sat, Sun but that’s not really useful if the wearer doesn’t speak English!
What I actually want to do is use a tag or expression so that this text changes depending on the wearer’s language e.g. Lun, Mar, Mer, Jeu. Ven, Sam, Dim
To see an example, the watch face I’m working on is here:
Thanks @GAUSS, but as you say that will only give me the current day, so the text will change every day.
I’ve looked through the Tags documentation and couldn’t find anything that would fit which is why I think it would have to be done with an expression, maybe using #DE# and adding/subtracting values to get what I need.
It would be useful to have a tag/variable which represented each weekday e.g. 1 to 7, so that when used the output would be rendered in the user’s language.
Thanks @yves.duteil that’s an interesting solution, however, there would still be a problem if the user’s language wasn’t French as the letters would be different and have different positioning (I just used French in my original post as a non-English example) so the cut-out/mask wouldn’t fit correctly.
I use #DE# for each day on 7 squares
but in the opacity field of that text i set codes to hide the text if not the current day:
- 1=monday, 2…,0=sunday
- 100:0 : if that day opacity = 100% (use a black tekst) and if not it becomes invisible 0%
(So code above will set opacity to 100% if day =1 (= monday))
Next text i change 1 to 2 (tuesday),….
Next I put each black text on top of individual square figures in bright colour
On these figues I do the same with the opacity