[ 
https://issues.apache.org/jira/browse/JSPWIKI-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18142079#comment-18142079
 ] 

ASF subversion and git services commented on JSPWIKI-530:
---------------------------------------------------------

Commit c6c793e3c7618e053db35cc172e77875de0c54f7 in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=c6c793e3c ]

JSPWIKI-530 Add a plugin that shows the content in the language of the visitor

Based on the LanguagePlugin that Ulf Dittmer attached to the issue. It chooses 
a block of the plugin body by the Accept-Language header of the browser, 
follows the quality values of the header, compares only the language and 
renders the chosen text as wiki markup, so HTML in a block is escaped like in 
the rest of the page. It uses log4j2 through the engine and needs no logging of 
its own.

Co-authored-by: Ulf Dittmer <[email protected]>


> to be able to set default content language of a wikipage
> --------------------------------------------------------
>
>                 Key: JSPWIKI-530
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-530
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Localization, Plugins, Templates and UI
>            Reporter: Zoltán Baráti
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: LanguagePlugin.java, Sample.PNG
>
>
> user should be able to declare  the language of the content  in the current 
> wikipage .



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to