You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2010/07/05 16:25:50 UTC

[jira] Commented: (CLEREZZA-224) need the "current language information" in the widget.

    [ https://issues.apache.org/jira/browse/CLEREZZA-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885245#action_12885245 ] 

Reto Bachmann-Gmür commented on CLEREZZA-224:
---------------------------------------------

I think the user language preference should be associated to the context node, 

> need the "current language information" in the widget. 
> -------------------------------------------------------
>
>                 Key: CLEREZZA-224
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-224
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Oliver Strässer
>            Priority: Critical
>
> Hi all
> I'll need the "current language Information" in the widget.
> Use Case 1:
> I create an App which contains information about animals in different languages. I have implemented a template widget called "display-pet" which is language independed. This widget is from RDF type "PetWidget" and has a property ont:describePet, which points to a description of a pet. Corresponding to the current language of the page the description of the animal should be displayed.
> How can I propagte the language information from the page to my widget?
> Use Case 2:
> I display an interactive flash content. This flash content requests an xml with all pet information.  This flash needs the current language information of the page too. - to request the correct language and display all labels in the correct language.
> 1 . approach : the graphnode, that i receive in the ssp file (wich renders the pet or include the flash content), has an triple which holds the language information of the page.
> 2 . approach : the individual language is added to the context graphnode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.