en_US - and where can I find out the list of abbreviations of languages?
How to write down your formula correctly? - (([LANG_LOC]==“en_US”)) and ([MON]==1)? JAN : (([M0N == 2) ? FEB : (([MON]==3) ? MAR :…)) ?
I guess this would be too selective. Lets say I want abbreviations in English and German but the tag diferentiates 7 German locales and maybe 50 of English. I only need 2 sets of abbreviations to cover them all, but the conditional line would be mile long to not exclude any possible locale.
Like no choice, for now , submit a feature request?
E.g a string format
I.e stringformat([MOM_F],3)
What the maximum layers can u have in wfs?
What i can think of is spilt tags expression into layers. And play with opacity. So if layer supports a local make it 100% the rest 0% opacity.
Layer 1,
So in opacity tag you can have.
0+(([LANG_LOC]==“en_US”))+[LANG_LOC]==“en_Uk”)))*100
Layer2,
Can be for german.
Etc
And in tag for text just do one main language
But yes even with this still alternative we cant cover all languages types its way to many. This Just maybe makes the tag expressions look shorter for each languages.
The true solution would be if we could have truncate function similar to the numberFormat, like you put it stringFormat. I suggested it earlier.
My personal favorite workaround is masking. I use monospaced font so the desired string has always same length, align it to the left and place image mask over it. Good is, that in WFS each text layer can have individual mask, which wont obstruct other nearby layers. Trouble is, that some devices handle the fonts differently and the preview alignment does not always match the real text position on the display.
I thought of masking by aligning text to right first then removed the other characters…but like you say some times the length may be different in different languages… e.g chinese. 二月 = Feb
In theory since I’d have to change my phone to Russian to test this
Create a clocks stacked one on top of the other
one with only the Russian Language clock and no others
also for what ever other language doesn’t work right such as Portuguese or UK English
Those clocks will only show when the country is Russian, Portuguese or UK English
Then a clock with US Default and other localized countries