You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2010/06/04 12:08:55 UTC
[jira] Commented: (CLEREZZA-224) eed 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=12875550#action_12875550 ]
Tommaso Teofili commented on CLEREZZA-224:
------------------------------------------
Maybe you could call inside ore "before" the widget (depending on use case) UIMABaseMetadataGenerator (providing a valid AlchemyAPI key as 'apikey' value in TextLanguageDetectionAEDescriptor.xml descriptor inside the org.apache.clerezza.uima.utils module) to enrich your graphnode with language finding it under the DCTERMS.language graphnode property
> eed 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 wwfch: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.