observer-lang-value analyse for lesser overhead

neue medienordnung plus
  last edited: Sun, 30 Apr 2017 19:31:34 +0200  
Current language-sensitive solution to cause overhead-traffic, because Hubzilla to deliver for browser all language-blocks, but only one (lang-en, lang-de or lang-xy) language-block are to require. When we have 15-25 language-variants, then have we appropriate waste traffic. Because my question:

Exist in Commanche Comanche Page Description Language the opportunity the observer-lang-value with "if"-statements to analyse? For example something of the kind
  [if $lang == de ]
  German translation
[else]
  [if $lang == en ]
    English translation
    [else]
      [if $lang != en ]
        English translation
        [/if]
    [/if]    
[/if]

@Hubzilla Development+ #observerlang
Andrew
  
I tried that kind of nested "if" statement. It did not work. This is why I said that Comanche does not support the logic we need for this language selection, and that we should consider implementing a "switch" statement in addition to the "if" statement.