You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Goran Karlic (JIRA)" <ji...@apache.org> on 2009/06/04 14:19:07 UTC
[jira] Commented: (JSPWIKI-530) to be able to set default content
language of a wikipage
[ https://issues.apache.org/jira/browse/JSPWIKI-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716254#action_12716254 ]
Goran Karlic commented on JSPWIKI-530:
--------------------------------------
I propose to implement this with two changes that would provide JSPWiki with support for linking multiple languages of the the same page in a flexible way:
1. Introduction of a {{Lang}} plugin
{noformat}
[{Lang de='Willkommen'}]
[{Lang en='Welcome'}]
{noformat}
or
{noformat}
[{Lang de='Supernova_de'}]
[{Lang en='Supernova_en'}]
{noformat}
{{Lang}} plugin would only put the key-value pair specified in the parameters ({{language = page name}}) in the attributes of the current page. ISO codes are used to identify the language.
2. Changing the view template
{{PageActionsTop.jsp}} would iterate through the page attributes and place corresponding buttons and output the links to translations of the page just before the {{Edit}} button.
Currently this kind of solution is working fine with a wiki with many pages are in 4 languages (de, en, it, fr).
> 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: Default template, Localization, Plugins
> Reporter: Zoltán Baráti
> Priority: Minor
> Attachments: Sample.PNG
>
>
> user should be able to declare the language of the content in the current wikipage .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.