data model and browser sniffing for language-sensitive Hubzilla-Help in local Hubs

neue medienordnung plus
  
Andrew
  
Your idea for implementing multilingual websites using dedicated channels could work, but I think consuming an entire channel for this purpose is not ideal. I think we can add some more metadata to the website "package" that will enable the import tool to construct language-specific page blocks. Here's an idea: We could add a field in the JSON files associated with each imported element that designate the element's language. It'll take some more thought about how the import tool will use this to render the page to a visitor in their language, but we already have the JavaScript idea you linked to, and if the visitor is an authenticated member then the

    [observer.language=en]Text to display if observer language is English[/observer]

BBcode could be useful too.
neue medienordnung plus
  
I think we can add some more metadata to the website "package" that will enable the import tool to construct language-specific page blocks.

I'd love to test this workflow with language-specific page blocks construct on https://dev.hubzilla.org/ . Important is, that we provide a userfriendly efficiently workflow for translate-Contributors.