Thank you for the suggestion alexsad. But when using constants, I can't figure 
out how to access them with a dynamic reference.

With my current _tables_ solution, I can access the item based on the host and 
language by concentrating the users elements: 
    
    
    # langGet[identifier &  "_" & lang & pageID]
    echo langGet["title" & "_" & "EN" & "c"] # => Cx Manager
    

I have multiple HTML pages, where the page title and other items needs to based 
on the host and language. The user needs to see the same webpage, but the 
language-items needs to reflect the host and language. The only solution I've 
got to work with constants, is just a simple if else, which would bloat my code 
    
    
    if c.pageID == "c":
      $lngtitle_DKc
    elif c.pageID == "h":
      $lngtitle_DKh
    

Can I somehow concentrate multiple strings into a constants reference, to get 
the right language-item? 

Reply via email to