Added multilingual support#25
Open
tbuljevic wants to merge 4 commits intoezsystems:masterfrom
tbuljevic:master
Open
Added multilingual support#25tbuljevic wants to merge 4 commits intoezsystems:masterfrom tbuljevic:master
tbuljevic wants to merge 4 commits intoezsystems:masterfrom
tbuljevic:master
Conversation
…omment/list.php Added $Params['UserParameters'] into $view_parameters - necessary for choosing the language of the comments in the view.
…min2/templates/comment/list.tpl On a multilingual site /design/admin2/templates/comment/list.tpl displays only the comments in the default language. This solution enables the administrator or editor to review all the comments in all the languages available.
…min2/templates/comment/list.tpl Added changes for displaying the navigator. If there are no comments in the current comment fetch, the navigator doesn't need to be displayed. Also, a new variable called "lang_list" is introduced and it is set by the extension/ezcomments/modules/list.php file. It has all the necessary information on the current languages on the site.
…omment/list.php Added a variable called langList which fetches the list of the languages currently available on the site and outputs all the information via the eZContentLanguage::fetchList() method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With this solution you can check the comment list for every language on the site. If the comments are setup only in the secondary language, it is possible to view them now using the links provided in the design/admin2/termplates/comment/list.tpl.