-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancements/Questions on Localization #7352
Comments
I will setup a design meeting to talk about localization. |
@sebastienros , nice. We will partecipate, probably @MatteoPiovanelli-Laser and me. If it's possible we will prefer a date after November 4... tnks |
Hello. @sebastienros, is there any news on the discussion about localization? |
Is November 4th ok for everyone, anytime between 10am PST to 1pm PST (18 to 21 in Central Europe right now) |
/cc @jersiovic @urbanit |
It works for me. |
I mean 10am pst works for me... |
Ok 10am pst also works for me |
To be sure we don't forget points that IMO are interesting here it is a list of needs that IMO is desirable localization solves: LOCALIZATION NEEDS
Example: You have class OrderType containing OrderLines with content items ids pointing to content items of type Product. It is desirable code used to deal with Products (filter, group, access data) would be the same if Products is non localizable initially and in the future is changed to localizable. With current solution problem after you make Product localizable with another culture different than the one used by default is you need all products duplicated and need to deal with this duplication everywhere. LOCALIZATION SCENARIOS
|
This is my current view of the two solutions discussed by the moment in relation to the NEEDS defined previously. Maybe it is interesting for the Friday discussion. LOCALIZATION SOLUTIONSCulturePart pointing to related localized Content ItemsPros:
To-Do:
Cons:
A content item contains all its localized dataPros:
To-Do:
Cons:
When we edit a content item with localizable data through Admin UI we will see non localized data and localized data can be seen/edited using a combo to choose the culture in which we want to see those fields. When editing a content item, those fields we don't have permissions to modify will appear in readonly mode. -- EDITED -- Save and Publish buttons will store or Publish content item of only data in the culture for which the user has permissions. Only data of cultures with any non-blank data fulfilled will be marked as published. That means when you don't fulfill data for one culture that Content item won't be considered as published for that cultured. |
Please take a look to this interesting video from the Drupal community related with this topic: |
Works also for me 10am pst. |
Meeting notesdefault: en-US Page content type With no fields (body, title, url) Product, Title, Weight field, not localizable, Draftable Motorbike -> Weight: 50kg -> Helmet O1 Master content item id === Translation sets ids
-- Different menu structures "Menu English" "Menu Italian" (Localization Part to Menu Widget) New Menu Widget "English menu everywhere" New translation -- Same menu structure (TODO) Taxonomies: Same as Menu items? Issue, we only have a MSCId if the localization part is defined Cid Mcid
|
Hi, @HermesSbicego-Laser and I debriefed offline a bit. We have some comments on what we discussed regarding the ContentPicker. Specifically, the following points from @sebastienros' notes:
Adding the dropdown with the language selection in the "list" window that appears when clicking "Add" for a ContentPickerField is pretty straightforward, and does not actually require any dependency with the Orchard.Localization module (like it's done in the contents list view). The Option and Sub-option I think will require a dependency from Orchard.Localization. To avoid introducing that dependency to the Orchard.ContentPicker feature (thus avoid back-compatibility issues) we would go and create another feature in the Orchard.ContentPicker module. Something along the lines of Orchard.ContentPickerLocalizationExtensions.
That feature, as described, should pose no compatibility issue. I think it may not even have to change any existing code-files in the Orchard.ContentPicker module. Tomorrow I will start working on this, because I have previous work we did to start from and adding the rest that we discussed should not be too much work. Any input and comments are appreciated. Best, |
Hi, I forgot to discuss a point in my previous comment.
I would like a bit more input on it, but this is what I have in my head: I will work on this functionality right after the things I discussed in my previous comment. Here as well, any input and comments are appreciated. Best, |
/cc @sebastienros @urbanit @jersiovic @MatteoPiovanelli-Laser In the meanwhile I have a question for @sebastienros : We talked about "Culture Neutral Fields" but we didn't threat "Culture Neutral Parts": for parts things are more complex, I think it should be nice to have this feature too, maybe using or extending the cloning logic? |
I opened #7386 because things in the localization part work different than what I expected/remembered |
#7388 adds the dropdown to select/filter by language in the view opened by the content picker field |
In light of #7386, @HermesSbicego-Laser and I thougth that it's probably better to add a property |
Hi all, De-briefing notes
Scenario: Problem: What to do with Untranslatable Contents (without LocalizationPart)? Scenario: Problem: What happens if a translation is missing? We think we should take this approach, 'cause it supports all scenarios we talked till now Update Example Opt1: true (want to translate) Taxonomy Categories are:
Problems with this approach
Creating automatically Localized version is not orchard default for the other contents Problems in current Orchard behaviours Proposed approach Taxonomy translation (obviously only if I have the Corner case:
Term translation (obviously only if I have the
Settings
On creating
On Saving Content
Problems with current UI Blog/BlogPosts If locale of Blog and BlogPost are not the same, tries to move BlogPost under a the right Blog translation but if it can't leave things untouched. Tags Container/Containable |
We intend to do the Taxonomy design meeting tomorrow at 9am PT, i.e. 6pm CET |
Unfortunately, it will be impossible for me to attend, at least the 1st hour. I will try my best to join later... |
Update on TaxonomiesTERM CONTENT TYPE Q: Can we change the Term Content Type of a taxonomy localization? Localization strategies
FIGURE 1 Taxonomy named LETTERS, not localizable I can't create B_IT as there is not A_IT
Taxonomy Field
|
I'm just reading now @HermesSbicego-Laser notes and date for the second meeting. I will think about your notes this weekend. |
What kind of concerns? You are worried cause not saved changes will be lost? If it is the problem I think it is not a big problem. Someone editing a non localizable content item usually doesn't need to change the culture cause there is not other translations of the same content item, he only wants to see all the UI and contents in the language he understand. |
* Squashed commit of the following: commit bd1e2bf3d386a1d6f12a5d062639929a17ba6c46 Author: matteo.piovanelli <[email protected]> Date: Thu Nov 10 12:02:09 2016 +0100 Added notifications about what the localization methods for ContentPickerField will do or have done. commit 04eb7074dcfef2c8beb65f0322821dc654902cfb Author: matteo.piovanelli <[email protected]> Date: Wed Nov 9 17:48:59 2016 +0100 Added the TryTranslate option and its suboptions commit fad9fa87f3f3a8c555d088e8971dd04a337cf4dc Author: matteo.piovanelli <[email protected]> Date: Wed Nov 9 15:31:44 2016 +0100 Added a new feature to the ContentPicker module. So far, it stops saving/publication when the items in the ContentPickerField are the "wrong" culture commit b90629d Merge: 578b21b c486355 Author: matteo.piovanelli <[email protected]> Date: Tue Nov 8 09:37:30 2016 +0100 Merge remote-tracking branch 'remotes/OrchardCMS.Orchard/1.10.x' into Laser/1.10.x commit 578b21b Merge: 395976f 3c53ffb Author: HermesSbicego-Laser <[email protected]> Date: Fri Nov 4 13:45:51 2016 +0100 Merge branch 'feature/6688_RequestTokens_Chaintext' into Laser/1.10.x commit 3c53ffb Author: HermesSbicego-Laser <[email protected]> Date: Fri Nov 4 13:43:38 2016 +0100 - replaced Regex.Replace with String.Trim(char[]) as suggested - ran Orchard.Tokens.Tests: 66/66 passed commit 395976f Merge: 708ed79 a15557e Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 16:34:50 2016 +0200 Merge branch 'Laser/1.10.x' of https://github.com/LaserSrl/Orchard into Laser/1.10.x commit 708ed79 Merge: 5fe0b69 68acf26 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 16:32:52 2016 +0200 Merge branch '1.10.x' of https://github.com/LaserSrl/Orchard into Laser/1.10.x commit 5fe0b69 Merge: 0daad70 e3a7059 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 16:32:31 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into Laser/1.10.x commit e3a7059 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 15:22:48 2016 +0200 - Addition of an existing png (OrchardLogo.png) as attachment within "Test Smtp Settings" Section, in order to demonstrate functionality of support for attachments in email commit f095dea Merge: 7b09747 68acf26 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 12:37:55 2016 +0200 Merge remote-tracking branch 'remotes/OrchardCMS.Orchard/1.10.x' into feature/6688_RequestTokens_Chaintext commit a15557e Merge: 0daad70 ce8a61e Author: matteo.piovanelli <[email protected]> Date: Thu Oct 27 17:10:53 2016 +0200 Merge branch 'issues/7346_WidgetsViewQueryString' into Laser/1.10.x commit 0daad70 Merge: 927d18b 7b09747 Author: HermesSbicego-Laser <[email protected]> Date: Thu Oct 27 09:07:58 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6688_RequestTokens_Chaintext' into 1.10.x commit 7b09747 Author: HermesSbicego-Laser <[email protected]> Date: Thu Oct 27 09:05:17 2016 +0200 inserted a better explanation on how to use the chains commit 927d18b Merge: f8cbc63 17ebdd2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 19:00:44 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6688_RequestTokens_Chaintext' into 1.10.x commit 17ebdd2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 18:57:48 2016 +0200 - typo commit f8cbc63 Merge: 9f42664 1b511b2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 18:53:11 2016 +0200 Merge branch 'feature/6688_RequestTokens_Chaintext' into 1.10.x commit 1b511b2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 18:50:35 2016 +0200 - Implement what described in #6688 Supported Syntaxes for Request and Form tokens are: 1. QueryString:(param1) or Form:(param1) 2. QueryString:param1 or Form:param1 3. QueryString:(param1).SomeOtherTextToken or Form:(param1).SomeOtherTextToken If you want to Chain TextTokens you have to use the 3rd syntax the element (here param1) has been surrounded with brackets in order to preserve backward compatibility. commit ce8a61e Author: matteo.piovanelli <[email protected]> Date: Wed Oct 26 11:46:24 2016 +0200 Fixes #7346 commit 9f42664 Merge: 60aa1cc f6cfe32 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:20:57 2016 +0200 Merge branch '1.10.x' of https://github.com/LaserSrl/Orchard into 1.10.x commit 60aa1cc Merge: c1b1c4d 7a16cf5 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:20:28 2016 +0200 Merge branch '1.10.x' of https://github.com/OrchardCMS/Orchard into 1.10.x commit c1b1c4d Merge: bf2201c e50bd60 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:19:54 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6196_SupportForAttachments' into 1.10.x commit e50bd60 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:18:24 2016 +0200 - Formatted Code (Rebracer) commit f6cfe32 Merge: 7a16cf5 bf2201c Author: matteo.piovanelli <[email protected]> Date: Mon Oct 24 09:24:57 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/1.10.x' into 1.10.x Ho fatto pull della 1.10 remota di Orchard commit bf2201c Merge: 67af300 580b79c Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 18:40:21 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into 1.10.x # Conflicts: # src/Orchard.Web/Modules/Orchard.Email/Services/SmtpMessageChannel.cs commit 580b79c Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:46:08 2016 +0200 - Added attachments logic commit 67af300 Merge: d4d4a32 a4c816b Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:56:13 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into 1.10.x commit a4c816b Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:55:38 2016 +0200 - missing Attachments Key fix commit d4d4a32 Merge: 297e586 2bb81ee Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:46:40 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into 1.10.x commit 2bb81ee Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:46:08 2016 +0200 - Added attachments logic commit 297e586 Merge: 54a1bdf 548b5d7 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 09:39:11 2016 +0200 Merge branch 'feature/5790_partecipate_in_cache_key_generation' into 1.10.x commit 548b5d7 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 09:37:07 2016 +0200 - Method renamed - try catch removed commit 54a1bdf Merge: b7ee130 794b9b0 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 17:51:29 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/5790_partecipate_in_cache_key_generation' into 1.10.x commit 794b9b0 Merge: 1dcee8a 350cbbd Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 17:44:35 2016 +0200 Merge branch 'feature/5790_partecipate_in_cache_key_generation' of https://github.com/LaserSrl/Orchard into feature/5790_partecipate_in_cache_key_generation commit 1dcee8a Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 16:30:12 2016 +0200 - typo chaching > caching - added EventHandler in order to partecipate in cachekey generation commit 350cbbd Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 17:40:58 2016 +0200 - typo chaching > caching commit b7ee130 Merge: c9e14f9 58e59e2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 16:32:13 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/5790_partecipate_in_cache_key_generation' into 1.10.x commit 58e59e2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 16:30:12 2016 +0200 - added EventHandler in order to partecipate in cachekey generation commit c9e14f9 Author: matteo.piovanelli <[email protected]> Date: Mon Oct 17 12:54:53 2016 +0200 Modified the OutputCache Module based on the enhancement proposed in Issue 5811, by adding a VaryByRequestCookies property to the CacheSettingsPart to enable the generation of the Cache Key based on cookies * Changed the view as reccomended by @sebastienros in his comments * Added culture information to the contentpickerfield editor view * Fixed a bug in the handler (!= instead of ==) * showing displaytext in warnings and notifications rather than content item's id * Cleanup. I ContentPickerFieldLocalizationDriver Editor methods are executed correctly on validation errors, so they load the additional javascript correctly
@jersiovic maybe I misunderstood what you proposed. I will try to explain the way I understood things, so you can see what I may have gotten wrong. Please, correct me. Setting 1 I mentioned was for the case where the ContentType that has the TaxonomyField is not localizable (does not have a LocalizationPart): by enabling setting 1 we are causing the TaxonomyField, when we are editing a ContentItem, to only show, as available for selection, Terms whose culture is the same as the Current Culture. |
@MatteoPiovanelli-Laser Yes you are right. |
I actually have a question, because I forget what we meant by this:
@sebastienros @jersiovic @urbanit @HermesSbicego-Laser |
Hi @MatteoPiovanelli-Laser , I think that we mean that we may need to select a specific content item (without take into account if it has localisation info attached or not, and maybe from diffrent culture...) We described the need to choose a specific content item... |
@urbanit |
I think it is more of translating/cloning issue than of synchronization. |
@MatteoPiovanelli-Laser @urbanit It was related with what I wanted in an scenario where we have a non localizable content item with a content picker field pointing to localizable contents. I wanted to store in the field picker the Translation Set Id but not any concrete content item id of the translations available. The purpose was that when the pantent content item is rendered or edited the content item picker field shows the child content item with the stored Translation Set Id and same culture you are using to render the parent content item. But if you implement Setting 1 and Setting 2 we talked previously in this thread then I don't need this. |
@urbanit @jersiovic Ok, I understand now. Thanks. |
Hello, I have the synchronization working (on my machine) on a branch based on the PRs I did for LocalizationSets and Cloning. (branch: https://github.com/LaserSrl/Orchard/tree/CultureNeutralPartsAndFields) I had to make a few changes that should not break anything. I had to add string properties to In light what I did for the cloning fallback, I don't feel that adding a parameter to @sebastienros |
Yes, please demo it. On Nov 22, 2016 7:19 AM, "Matteo Piovanelli" [email protected]
|
@sebastienros |
I don't understand what branches you are talking about, I'll just trust your judgement. |
Hello. After a busy stretch (and some vacation) we are back to work on localizations. I wil try to recap where we stand and our next steps. Please, pitch in with comments. The things that were left hanging from December, I think, are: Localization Sets Cloning Culture Neutral Synchronization Translating
My idea then is then to create an IContentTranslatingPartDriver , abstract ContentTranslatingPartDriver , and probably a TranslatingPartDriverCoordinator (which would require, I think, to have an IContentTranslatingHandler and a TranslatingHandlerBase) (similarly for fields), that allow Tranlsating/Translated methods, in a similar way to what was done above for Cloning. The main difference would be that I'd rather implement these classes and interfaces in the Localization module rather than in the Framework project. Note that the IContentTranslatingPartDriver would not inherit from the IContentCloningPartDriver, otherwise we would have the same issue for the fallback that I mentioned above. Cheers, |
Hey everyone, awesome stuff here! One quick remark (and I'd be happy to take part in the upcoming design process to continue this work): AutoroutePart is kind of special in a way that TitlePart affects its behaviour. If you enable the setting in AutoroutePart to regenerate it every time you change the Title, then enabling sync on TitlePart is going to mean that the AutoroutePart of the translated versions are also updated, so you'll end up with the same routes suffixed with numbers (though I'm not 100% sure about this as this automated process might be a bit different than doing this on the UI). It might not be a problem, actually, just something we may want/try to avoid. |
* Removed incorrect comments in Gulpfile.js. * Fixing that with multiple TinyMCE editors on a page multiple toolbars also appeared, see OrchardCMS#7022 * Readme: Simplifying the "Project Status" section * [Fixes OrchardCMS#7034] Don't cache pages when status code is changed in the view * Fixed the output caching of non 200 responses when errors are thrown in views * Added debug message to output cache when the response isn't cached due to a non 200 status code. * [Fixes OrchardCMS#7003] Fixing NRE * Fixing that the debug log was created even in Release mode * Use ISO 8601 format for date times Fixes OrchardCMS#6973 * Identity support to menu create command switch * Admin, content list, fixed lowercase display and CSS class of bulk labels * Fixing typos. Fixes OrchardCMS#6902 * Sanitize username in activity * fix typo of occured for logging messages and notification (OrchardCMS#7083) * Allowing adding classes through ShapeTableBuilder.Describe Small change to Content.Summary.cshtml to allow module developers to add classes to Content.Summary.cshtml via ShapeTableBuilder.Describe. Fixes OrchardCMS#7089 * Pass the right display type to the widget element. (OrchardCMS#7074) * [Fixes OrchardCMS#6812] Add shape attributes to "CreateElementTagBuilder" * [Fixes OrchardCMS#7043] Displaying Multiple Editors from a Custom Part * [Fixes OrchardCMS#7104] - Widget Element Title Encoding Fix * [Fixes OrchardCMS#7119] Path Comparison Case Sensitivity * [Fixes OrchardCMS#7121] Fix incorrect documentation url * Preserve returnUrl value in Content-User.Edit.cshtml Fixes OrchardCMS#7141 OrchardCMS#3447 * Labels hidden when datetime field added (OrchardCMS#7146) Fixes OrchardCMS#7144 * Labels hidden when datetime field added (OrchardCMS#7146) Fixes OrchardCMS#7144 * Fix incorrect title on edit page Fixes OrchardCMS#7142 * Fix incorrect title on edit page Fixes OrchardCMS#7142 * [Fixes OrchardCMS#7129] Boolean.cshtml doesn't have * required support in view (OrchardCMS#7133) * [Fixes OrchardCMS#7125] tokenized css class left behind (OrchardCMS#7127) * Allow custom date format when displaying published state Wen overriding the Parts.Common.Metadata.cshtml in a theme, this will allow for changing the date format used to display the date. * [Fixes OrchardCMS#7132] Orchard.Fields - Inconsistent use of mandatory / required (OrchardCMS#7134) * [Fixes OrchardCMS#5708] Orchard.Fields - Inconsistent use of mandatory / required * finish off updating messages + tests * fix broken test * Fixed ContentFieldHarvester when NULL Content The content field harvester throws an error when the LayoutEditor is rendered without having a content item as the context (BluePrints, for example). The previous code would fall back to simply enumerating all fields of all parts to make available all content fields as elements. However, the content field elements can't render these fields without having a proper content item as context, so it would fail with an exception. There are scenarios where one might still want to be able to add content field elements on the canvas even when there is no current content item (to create template layouts for example). But to support this, we need to figure out what we want to render if we can;t actually render the content field at design time. Perhaps a simplified representation would suffice in this scenario. To be discussed. Removing the broken feature for now. * [Fixes OrchardCMS#7153] Typo .buton:active in several css files (OrchardCMS#7154) * [Fixes OrchardCMS#7153] Typo .buton:active in several css files [Fixes OrchardCMS#7153] Typo .buton:active in several css files * [Fixes OrchardCMS#7153] Typo .buton:active in several css files [Fixes OrchardCMS#7153] Typo .buton:active in several css files * [Fixes OrchardCMS#7153] Typo .buton:active in several css files [Fixes OrchardCMS#7153] Typo .buton:active in several css files * [Fixes OrchardCMS#7153] Typo .buton:active in several css files [Fixes OrchardCMS#7153] Typo .buton:active in several css files * Added CodeRush for Roslyn settings folder to .gitignore. * [Fixes OrchardCMS#7151] Orchard.Core - Use CDN setting ui not correct (OrchardCMS#7152) [Fixes OrchardCMS#7151] Orchard.Core - Use CDN setting ui not correct * Fields display as "&" instead of "&" in validation error msgs (OrchardCMS#7156) Fixes OrchardCMS#7111 * Wrapped owin middleware config (OrchardCMS#7161) This wraps owin middle ware configuration within a work context scope. Fixes OrchardCMS#6991 * Fixes OrchardCMS#7120 Hidden Field in Dynamic Forms causes crash (OrchardCMS#7123) Fixes OrchardCMS#7120 - If a Hidden Field is added to a DynamicForm without a Value set then it will crash the front end because of a null value. * Customize blog recipe (OrchardCMS#7166) Fixes OrchardCMS#7115 * [Fixes OrchardCMS#7131] Orchard.ContentTypes - Add / Edit Field Issues (OrchardCMS#7150) * [Fixes OrchardCMS#7192] Orchard.Tags - Manage Tags Admin Page Not Alpha Sorted (OrchardCMS#7198) * line wrap css and bind title attr Fixes OrchardCMS#7208 * Add Orchard.Tags.TagsCloud "no data" message Fixes OrchardCMS#7170 * Orchard.Blogs - Hide Parts_Common_Metadata on blog Fixes OrchardCMS#7171 * [Fixes 7246] Added null checks for version ids Fixes OrchardCMS#7246 * feature - add front end toggling of shape tracing Fixes OrchardCMS#7162 * Blog Recent Posts, Archives, Tag Cloud "no data" msgs Fixes OrchardCMS#7168, Fixes OrchardCMS#7169, Fixes OrchardCMS#7170 * Fixed an issue with incorrect log message at Indexing module * Fixed incorrect log message in Indexing module * Fixed an issue with incorrect log message at Indexing module * Fixed identation Fixes OrchardCMS#7225 * Orchard.MultiTenancy - Mismatched ConnectionString UI between add/edit Fixes OrchardCMS#7301 * [Fixes OrchardCMS#4723] Orchard.Core.Contents - Verify type exists on create content Fixes OrchardCMS#4723, OrchardCMS#6769 * Fixed an issue with layout element lookup. (OrchardCMS#7305) Fixes OrchardCMS#7304 * [Fixes OrchardCMS#6704] Regular Expression for Validating TextField Element (OrchardCMS#6705) Fixes OrchardCMS#6704 * [Fixes OrchardCMS#5960] LinkEntry needs Sizes Attribute (OrchardCMS#7303) Fixes OrchardCMS#5960 * [Fixes OrchardCMS#6494] SSL missing settings banner showing on frontend (OrchardCMS#7302) Fixes OrchardCMS#6494 * [Fixes OrchardCMS#7294] Orchard.Core - Improve wording of Notifier in Content Management admin (OrchardCMS#7298) Fixes OrchardCMS#7294 * [Fixes OrchardCMS#7299] Update defaults for rebracer.xml (OrchardCMS#7300) Fixes OrchardCMS#7299 * [Fixes OrchardCMS#7255] Cached items are not evicted on Remove and Destroy (OrchardCMS#7281) Fixes OrchardCMS#7255 * [Fixes 6759] Replace Media Item: Replacing an Image/OEmbed with new one (OrchardCMS#7160) Fixes OrchardCMS#6759 * [Fixes OrchardCMS#7155] Orchard.Framework - GroupInfo generates routes with spaces (OrchardCMS#7275) Fixes OrchardCMS#7155 * [Fixes OrchardCMS#7318] Orchard.DesignerTools - Setting Id not needed anymore (OrchardCMS#7319) Fixes OrchardCMS#7318 * Fixing SQL exception during automatic migrations in PostgreSql Fixes OrchardCMS#6783 Fixes OrchardCMS#7323 * [Fixes OrchardCMS#5811] Adding a VaryByRequestCookies property to the CacheSettingsPart Fixes OrchardCMS#5811 * [Fixes OrchardCMS#7326] Orchard.Widgets - Fix typo in logger (OrchardCMS#7327) * [Fixes OrchardCMS#7071] Orchard.Users - Users last login time is not correct (OrchardCMS#7325) Fixes OrchardCMS#7071 * [Fixes OrchardCMS#7251, Fixes OrchardCMS#1659] Orchard.Setup - Blog recipe doesn't create widgets correctly (OrchardCMS#7324) Fixes OrchardCMS#7251, Fixes OrchardCMS#1659 * [Fixes OrchardCMS#7258] Orchard.Core - Tabbed groupby breaks priority (OrchardCMS#7321) Fixes OrchardCMS#7258 * Orchard.Roles GetRoles should defer execution (OrchardCMS#7320) Fixes OrchardCMS#7278 * [Fixes OrchardCMS#7258] Orchard.Core - Tabbed groupby breaks priority (OrchardCMS#7336) Fixes OrchardCMS#7258 * Fixed wording of "vary by cookies" option in admin UI. * Adding missing import/export for UserPart.LastPasswordChangeUtc * Fixing that for existing users LastPasswordChangeUtc being null caused errors * Fixing that DateTime.MinValue as default value for LastPasswordChangeUtc causes exception during setup * [Fixes OrchardCMS#7339] Orchard.Widgets - Refactor OrchardCMS#7251 (OrchardCMS#7342) Fixes OrchardCMS#7339 * [Fixes OrchardCMS#7346] Allowing cultures and layers to be selected in Widgets Fixes OrchardCMS#7346 * Update Module.txt (OrchardCMS#6945) * [Feature OrchardCMS#5790] Adding cache key generation extensibility (OrchardCMS#7334) * Allow the initial value of some fields to be tokenized (OrchardCMS#6613) Fixes OrchardCMS#6613 Fixes OrchardCMS#6237 * Fix Event Bus for null exception (OrchardCMS#7360) EventsInterceptor fails when it tries to locate a generic method on an implementation with a return type. A null check has been added to avoid the exception. Fixes OrchardCMS#4718 Dixes OrchardCMS#4584 * Adding the ability to select whether a Template (content item) will be rendered on the frontend, admin, or both. Fixes OrchardCMS#5579. * Adding import/export for the RenderingMode property of ShapePart * Changed Audit Trail trimming task to delete all records in one batch, rather than iterating through the table records (OrchardCMS#7361) * LocalizationStreamParser should not fail on faulty PO files Closes OrchardCMS#7387 * Using Invoke helper in Clone() (OrchardCMS#7400) * Delete scheduled task when content is published Fixes OrchardCMS#6840 * Sort Taxonomies Terms failed Fixes OrchardCMS#6795 * Implements ContentPicker localization options discussed in OrchardCMS#7352 (OrchardCMS#7391) * Squashed commit of the following: commit bd1e2bf3d386a1d6f12a5d062639929a17ba6c46 Author: matteo.piovanelli <[email protected]> Date: Thu Nov 10 12:02:09 2016 +0100 Added notifications about what the localization methods for ContentPickerField will do or have done. commit 04eb7074dcfef2c8beb65f0322821dc654902cfb Author: matteo.piovanelli <[email protected]> Date: Wed Nov 9 17:48:59 2016 +0100 Added the TryTranslate option and its suboptions commit fad9fa87f3f3a8c555d088e8971dd04a337cf4dc Author: matteo.piovanelli <[email protected]> Date: Wed Nov 9 15:31:44 2016 +0100 Added a new feature to the ContentPicker module. So far, it stops saving/publication when the items in the ContentPickerField are the "wrong" culture commit b90629d Merge: 578b21b c486355 Author: matteo.piovanelli <[email protected]> Date: Tue Nov 8 09:37:30 2016 +0100 Merge remote-tracking branch 'remotes/OrchardCMS.Orchard/1.10.x' into Laser/1.10.x commit 578b21b Merge: 395976f 3c53ffb Author: HermesSbicego-Laser <[email protected]> Date: Fri Nov 4 13:45:51 2016 +0100 Merge branch 'feature/6688_RequestTokens_Chaintext' into Laser/1.10.x commit 3c53ffb Author: HermesSbicego-Laser <[email protected]> Date: Fri Nov 4 13:43:38 2016 +0100 - replaced Regex.Replace with String.Trim(char[]) as suggested - ran Orchard.Tokens.Tests: 66/66 passed commit 395976f Merge: 708ed79 a15557e Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 16:34:50 2016 +0200 Merge branch 'Laser/1.10.x' of https://github.com/LaserSrl/Orchard into Laser/1.10.x commit 708ed79 Merge: 5fe0b69 68acf26 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 16:32:52 2016 +0200 Merge branch '1.10.x' of https://github.com/LaserSrl/Orchard into Laser/1.10.x commit 5fe0b69 Merge: 0daad70 e3a7059 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 16:32:31 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into Laser/1.10.x commit e3a7059 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 15:22:48 2016 +0200 - Addition of an existing png (OrchardLogo.png) as attachment within "Test Smtp Settings" Section, in order to demonstrate functionality of support for attachments in email commit f095dea Merge: 7b09747 68acf26 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 28 12:37:55 2016 +0200 Merge remote-tracking branch 'remotes/OrchardCMS.Orchard/1.10.x' into feature/6688_RequestTokens_Chaintext commit a15557e Merge: 0daad70 ce8a61e Author: matteo.piovanelli <[email protected]> Date: Thu Oct 27 17:10:53 2016 +0200 Merge branch 'issues/7346_WidgetsViewQueryString' into Laser/1.10.x commit 0daad70 Merge: 927d18b 7b09747 Author: HermesSbicego-Laser <[email protected]> Date: Thu Oct 27 09:07:58 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6688_RequestTokens_Chaintext' into 1.10.x commit 7b09747 Author: HermesSbicego-Laser <[email protected]> Date: Thu Oct 27 09:05:17 2016 +0200 inserted a better explanation on how to use the chains commit 927d18b Merge: f8cbc63 17ebdd2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 19:00:44 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6688_RequestTokens_Chaintext' into 1.10.x commit 17ebdd2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 18:57:48 2016 +0200 - typo commit f8cbc63 Merge: 9f42664 1b511b2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 18:53:11 2016 +0200 Merge branch 'feature/6688_RequestTokens_Chaintext' into 1.10.x commit 1b511b2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 26 18:50:35 2016 +0200 - Implement what described in OrchardCMS#6688 Supported Syntaxes for Request and Form tokens are: 1. QueryString:(param1) or Form:(param1) 2. QueryString:param1 or Form:param1 3. QueryString:(param1).SomeOtherTextToken or Form:(param1).SomeOtherTextToken If you want to Chain TextTokens you have to use the 3rd syntax the element (here param1) has been surrounded with brackets in order to preserve backward compatibility. commit ce8a61e Author: matteo.piovanelli <[email protected]> Date: Wed Oct 26 11:46:24 2016 +0200 Fixes OrchardCMS#7346 commit 9f42664 Merge: 60aa1cc f6cfe32 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:20:57 2016 +0200 Merge branch '1.10.x' of https://github.com/LaserSrl/Orchard into 1.10.x commit 60aa1cc Merge: c1b1c4d 7a16cf5 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:20:28 2016 +0200 Merge branch '1.10.x' of https://github.com/OrchardCMS/Orchard into 1.10.x commit c1b1c4d Merge: bf2201c e50bd60 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:19:54 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6196_SupportForAttachments' into 1.10.x commit e50bd60 Author: HermesSbicego-Laser <[email protected]> Date: Tue Oct 25 09:18:24 2016 +0200 - Formatted Code (Rebracer) commit f6cfe32 Merge: 7a16cf5 bf2201c Author: matteo.piovanelli <[email protected]> Date: Mon Oct 24 09:24:57 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/1.10.x' into 1.10.x Ho fatto pull della 1.10 remota di Orchard commit bf2201c Merge: 67af300 580b79c Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 18:40:21 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into 1.10.x # Conflicts: # src/Orchard.Web/Modules/Orchard.Email/Services/SmtpMessageChannel.cs commit 580b79c Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:46:08 2016 +0200 - Added attachments logic commit 67af300 Merge: d4d4a32 a4c816b Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:56:13 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into 1.10.x commit a4c816b Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:55:38 2016 +0200 - missing Attachments Key fix commit d4d4a32 Merge: 297e586 2bb81ee Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:46:40 2016 +0200 Merge branch 'feature/6196_SupportForAttachments' into 1.10.x commit 2bb81ee Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 11:46:08 2016 +0200 - Added attachments logic commit 297e586 Merge: 54a1bdf 548b5d7 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 09:39:11 2016 +0200 Merge branch 'feature/5790_partecipate_in_cache_key_generation' into 1.10.x commit 548b5d7 Author: HermesSbicego-Laser <[email protected]> Date: Fri Oct 21 09:37:07 2016 +0200 - Method renamed - try catch removed commit 54a1bdf Merge: b7ee130 794b9b0 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 17:51:29 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/5790_partecipate_in_cache_key_generation' into 1.10.x commit 794b9b0 Merge: 1dcee8a 350cbbd Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 17:44:35 2016 +0200 Merge branch 'feature/5790_partecipate_in_cache_key_generation' of https://github.com/LaserSrl/Orchard into feature/5790_partecipate_in_cache_key_generation commit 1dcee8a Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 16:30:12 2016 +0200 - typo chaching > caching - added EventHandler in order to partecipate in cachekey generation commit 350cbbd Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 17:40:58 2016 +0200 - typo chaching > caching commit b7ee130 Merge: c9e14f9 58e59e2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 16:32:13 2016 +0200 Merge remote-tracking branch 'remotes/Laser.Orchard/feature/5790_partecipate_in_cache_key_generation' into 1.10.x commit 58e59e2 Author: HermesSbicego-Laser <[email protected]> Date: Wed Oct 19 16:30:12 2016 +0200 - added EventHandler in order to partecipate in cachekey generation commit c9e14f9 Author: matteo.piovanelli <[email protected]> Date: Mon Oct 17 12:54:53 2016 +0200 Modified the OutputCache Module based on the enhancement proposed in Issue 5811, by adding a VaryByRequestCookies property to the CacheSettingsPart to enable the generation of the Cache Key based on cookies * Changed the view as reccomended by @sebastienros in his comments * Added culture information to the contentpickerfield editor view * Fixed a bug in the handler (!= instead of ==) * showing displaytext in warnings and notifications rather than content item's id * Cleanup. I ContentPickerFieldLocalizationDriver Editor methods are executed correctly on validation errors, so they load the additional javascript correctly * Content picker localization culture dropdown (OrchardCMS#7388) * Default Tag Cache from HttpContext (OrchardCMS#7280) Fixes OrchardCMS#7240 * Bug reading SiteSettings from the Routes class (OrchardCMS#7363) Fixes OrchardCMS#7362 * Implements what described in OrchardCMS#6688 (OrchardCMS#7356) Fixes OrchardCMS#6688 * [Fixes OrchardCMS#7378] Fixed tenant name validation regex, not to allow numbers. (OrchardCMS#7399) [Fixes OrchardCMS#7378] * Fix link to dotnetfoundation (OrchardCMS#7434) * Fixed the tenant name validation (OrchardCMS#7429) * Fix DateTime parsed in ISO 8601 format. (OrchardCMS#7433) Fixes OrchardCMS#7432 * Rename ModelStateDistionaryExtensions.cs to ModelStateDictionaryExtensions.cs (OrchardCMS#7415) * Rename ModelStateDistionaryExtensions.cs to ModelStateDictionaryExtensions.cs Fixed spelling in file name * Update Orchard.Users.csproj Fixed misspelling. * Adding the ability to enable HTTP Strict Transport Security from the SSL module, fixes OrchardCMS#6612 * [Fixes OrchardCMS#7436] Added a using of System.Linq in CSharp scripting. (OrchardCMS#7437) Fixes OrchardCMS#7436 * [Fixes OrchardCMS#7443] Jobs Queue menu item visibility for site owners only. (OrchardCMS#7444) Fixes OrchardCMS#7443 * [Fixes OrchardCMS#7446] Orchard.Users - Allow umlauts in UserPart.EmailPattern (OrchardCMS#7447) Fixes OrchardCMS#7446 * ProjectionManager Extension (OrchardCMS#7417) - Defined a new interface IProjectionManagerExtension that inherits from IProjectionManager - ProjectionManager now implements IProjectionManagerExtension, so we can pass a part to GetCount and GetContentItems - GetCount and GetContentItems transform the part into a Content token, so you can filter data with informations contained in the Projection itself * [Fixes OrchardCMS#7441] Adapt export steps flag to work with refactored steps (OrchardCMS#7442) Fixes OrchardCMS#7441 * [Fixes OrchardCMS#6196] Added attachments logic (OrchardCMS#7338) Fixes OrchardCMS#6196 * [Fixes OrchardCMS#7404] Users own media folder name provider (OrchardCMS#7454) Fixes OrchardCMS#7404 * [Fixes #OrchardCMS#7430] Added support for culture neutral patterns (OrchardCMS#7449) Fixes #OrchardCMS#7430 * Adding ability to remove draft and adding grouping to SummaryAdmin content menu, see OrchardCMS#2661 and OrchardCMS#2662 These two issues are tightly connected so better to address them at once. * [Fixes OrchardCMS#7427] Fixing Blog Post permission The SummaryAdmin was not using the dedicated permissions. The default content handler can convert to the owner variation before the blogpost handler. Fixes OrchardCMS#7427 * [Fixes: OrchardCMS#7462] Orchard.OutputCache - Possible NRE in DefaultTagCache ctor when accessing the WorkContext (OrchardCMS#7463) Fixes OrchardCMS#7462 * [Fixes OrchardCMS#7467] Changed gulpfile to invoke autoprefixer directly instead of through cssnano. (OrchardCMS#7470) Fixes OrchardCMS#7467 * [Fixes OrchardCMS#4941] Adds Url property to dynamic menu shape (OrchardCMS#7468) Fixes OrchardCMS#4941 * [Fixes OrchardCMS#7425] Session Locator | Isolation Levels not respected in Sites.config (OrchardCMS#7466) Fixes OrchardCMS#7425 * [Fixes OrchardCMS#7425] Session Locator | Isolation Levels not respected in Sites.config (OrchardCMS#7466) Fixes OrchardCMS#7425 * [Fixes OrchardCMS#7451] Encoding of taxonomies in the dynamic forms (OrchardCMS#7458) Fixes OrchardCMS#7451 * [Fixes OrchardCMS#7413] Refactor taxonomies and terms permissions (OrchardCMS#7456) Fixes OrchardCMS#7413 * Taxonomies: - AdminController: Added Actions to AdminController in order to manage Create/Edit: Only Users with Permission.CreateTaxonomy can Edit/Create a Taxonomy - Views/Admin/Index.cshtml: Conditional display of ActionLink Create/Edit in Admin/Index.cshtml based on Permission.CreateTaxonomy - Views/Admin/Index.cshtml: Conditional display of ActionLink Delete in Admin/Index.cshtml based on Permission.ManageTaxonomies - TaxonomyPartHandler: Adding context.Metadata.EditorRouteValues for Taxonomy Terms: - Paring Action/Permission based on existing Permissions - Views/TermAdmin/Index.cshtml: Conditional display of ActionLink Create/Edit/Move/Delete based on right Permissions - TermPartHandler: Adding context.Metadata.EditorRouteValues for Taxonomy AdminMenu: - The AdminMenu was shown only if a User had ManageTaxonomies Permission; In that way, Roles who have the Create/Edit/Delete Term Permission could not access Index/Edit forms: specializing permissions on Navigation grants access to users belonging to those Roles. * Removed redundant check over SiteOwner permission * [OrchardCMS#7396] Implements UnassignRoleActivity (OrchardCMS#7414) Fixes OrchardCMS#7396 * [Fixes OrchardCMS#7469] Fix tenant restart infinite loop. (OrchardCMS#7471) Fixes OrchardCMS#7469 * Extensions are not enabled any more if they can't actually be loaded, fixes OrchardCMS#2437 * [Fixes 6890] Admin Menu: fix for "Content" item visibility. (OrchardCMS#7464) Fixes OrchardCMS#6890 * Usage of undeclared variables in Link.Edit.cshtml. (OrchardCMS#7473) * Update WidgetCommandsService.cs (OrchardCMS#7477) Removed hard coded override of the RenderTitle property for Menu Widgets. * [Fixes 7474] Add Canvas in Page commands (OrchardCMS#7475) Fixes OrchardCMS#7474. Create layout with a Canvas root element so it can be edited in the Orchard admin. * [Fixes 7472] Fix for mp4 file not streaming from Azure blob (OrchardCMS#7465) Fixes 7474 By default Azure blob storage uses service version "2009-09-19". mp4 files served with this version have to be fully downloaded to play. More info can be found here http://blog.thoughtstuff.co.uk/2014/01/streaming-mp4-video-files-in-azure-storage-containers-blob-storage/. * Adds IDecorator functionality (OrchardCMS#6233) * [Fixes OrchardCMS#7452] Media Library: Replacing a media item in recent section (OrchardCMS#7484) Fixes OrchardCMS#7452 * Orchard.Comments - Rework frontend and fix bugs (OrchardCMS#7332) [Fixes OrchardCMS#7212, Fixes OrchardCMS#7329] * Fixing that JobsQueue will fail if there are a large number of tasks, fixes OrchardCMS#5365 JobsQueue now works in batches to prevent transaction timeouts and the manual job execution feature uses batches as well. This is a fix for the immediate issue, further fixes are needed around the background task infrastructure, see the linked issue. * [Fixes OrchardCMS#1531] IThemeSelector.GetTheme() gets called several times. (OrchardCMS#7491) Fixes OrchardCMS#1531 * Fixing QueryHints.Empty mutable usage Fixes OrchardCMS#7358 * Fixing settings group info matching Fixes OrchardCMS#7371 * Adding vsvars32.bat is vsvarall cannot be found * Fixing unit test * Fixing membership unit tests * Improved performance of Count Hql queries (OrchardCMS#7501) * Feature/openid (OrchardCMS#7420) * [Fixes OrchardCMS#6316] Update Alias when importing AutoroutePart (OrchardCMS#7485) Fixes OrchardCMS#6316 * Make each JobsQueue tasks execute in its own transaction, see OrchardCMS#5365 * Add UserParameters token object (OrchardCMS#7482) Fixes OrchardCMS#7481 * Fixing that the content fields' values in a new content item were reset when building their editor (OrchardCMS#7505) (OrchardCMS#7507) Fixes OrchardCMS#7505 * Hide Gallery menu items on other tenants than Default. (OrchardCMS#7511) * Fixing Gallery search Fixes OrchardCMS#7497 * Output cache vary by query string modes (OrchardCMS#7509) * Fixed path to .vs folder in .gitignore. * Updated Gulp package dependencies (except TypeScript). * Updated Gulp pipeline to use latest version of TypeScript. This also required a change to flow all .js source files through the TypeScript transpiler and let TypeScript do the concatenation/bundling where applicable. This has the added bonus of catching more errors in plain .js files as the TypeScript compiler applies its structural and semantic understanding of the JavaScript code. * Fixed redundant double negation in Gulpfile.js. * Added ability to override TypeScript options from asset manifest. * Added Gulp asset manifest change detection for non-bundled asset groups. When running the 'build' task, a non-bundled asset group will now be rebuilt if the asset manifest file itself is newer than any of the output files. * [Fixes OrchardCMS#7515] Add RemoveContentDefinition recipe step (OrchardCMS#7516) * Changed .gitignore to exclude node_modules on all levels. * Added two new features to Gulpfile.js (see below). - Added support for separating minified resources by folder instead of by .min suffix. - Added support for flattening the output directory structure of glob-based asset groups. - Fixed bug where non-minified .js output files were not EOL normalized. * Fix the error that was preventing the load of the settings' views of the OpenId features (OrchardCMS#7518) * [Fixes OrchardCMS#7348] Changed the SummaryAdmin view to have the same "New Translation" link as the Editor view (OrchardCMS#7513) Fixes OrchardCMS#7348 * Glimpse (OrchardCMS#7502) Fixes OrchardCMS#5419 * Removed duplicated line in AutomaticDataMigrations.cs (OrchardCMS#7522) Fixes OrchardCMS#7521 * Fixing that SpecFlow tests were not ran using the tools from the NUnit NuGet package * Layouts: Removing incompatible (C# 6) code * Framework: Removing unused file (ContentManagement\Handlers\IdentifyDependenciesContext.cs) * Core: Removing empty folders * Users: Removing unnecessary file copied to the Users module (see UserResolverSelector.cs) Same change as 5e17db3 * Redis: Improving Redis extensions use of keys (OrchardCMS#7532) (OrchardCMS#5958 re-applied) * Framework: Fixing that a non-zero MaxPageSize site setting was not applied when the page size is 0, OrchardCMS#7541 * Avoid deleting terms twice just getting the root terms on DeleteTaxonomy method (OrchardCMS#7553) * [Fixes OrchardCMS#7479] Unwrapping of TargetInvocationException causes partial stacktrace loss (OrchardCMS#7550) Fixes OrchardCMS#7479 * [Fixes OrchardCMS#5596] blueprint harvesting caching (OrchardCMS#7549) Fixes OrchardCMS#5596 * [Fixes OrchardCMS#7486] Possibility of exporting individual Form Submissions (OrchardCMS#7495) * Flushing tasks deletion (OrchardCMS#7547) * Adding feature dependencies to OpenId module (OrchardCMS#7526) * Fixing redirect on tenants with a URL prefix, fixes OrchardCMS#4605 * MediaLibrary: Fixing that removing TitlePart from a type with MediaPart causes the type to be unusable due to an implicit dependency, fixes OrchardCMS#6047 * Remove long obsoleted IRouteProvider.GetRoutes(), see OrchardCMS#3177 * Automatically adding MediaPart to content types if another part depends on it, fixes OrchardCMS#4792 * Fixes OrchardCMS#7493 TextFieldDriver doesn't export its tag if content is empty (OrchardCMS#7510) * TextFieldDriver doesn't export its tag if content is empty * Null check implemented , string.Empty returned * TextFieldDriver doesn't export its tag if content is empty OrchardCMS#7493 * TextFieldDriver doesn't export its tag if content is empty OrchardCMS#7493 * Added missing project dependency for Orchard.Glimps. * Recipe description didn't match selected one (OrchardCMS#7559) * Feature to remove a Publish Later task (OrchardCMS#7438) * Added missing SnippetDescriptor property to Snippet element shape. * Fix validation property name on SiteName (OrchardCMS#7567) Fixes OrchardCMS#7565 * Revert "Improved performance of Count Hql queries" (OrchardCMS#7563)
I was thinking about the case that @jersiovic showed me at harvest.
The way I would do this: |
Thank you, it is better solution than the one we use based on tokens that get translation from .po files cause in that way the user can change translated texts. I said tor reduce "a bit" the ugly feeling ... it still remains I know :) |
I would go one step further and have a TokenField, where we can input pairs of Token,Value. |
Initially I liked your idea, but after think on it more I'm not sure if it will drive to UIs difficult of understand for the user when editing a Content Item based on that Field. |
Hi guys, I have a suggestion/question for you, related to how localization in Orchard works: in particular I would like to know which plans does the community have in order to improve it... some examples, to be more specific:
It would be nice to have a site settings (or any more granular setting) that tells to our site/part/field what to do if it finds translated contents
We did something for taxonomies/terms/taxonomy field and ContentPickerField for 1.8.2; our approach unfortunately has some negative effects because we had to suppress some default behaviour of Orchard (drivers and handlers); for example a behaviour we had to override was in taxonomy: when a translation for a taxonomy is created the modules creates a new
content Type, so we had a proliferation of unnecessary ContentTypes "ProductTypeTerm", "TipoProdottiTerm", "TypesDeProduitsTerm", and we could not accept this effect (collateral effect due to how taxonomies was designed)...
However, being localization a crucial feature of CMS, we would like to know your opinion on that in order to plan our next steps
Another philosphical question: should be the Orchard.Localization Module manage how other modules should react with localizable related contents? Or should every module be designed to consistently manage localization?
Personally I prefer the second approach, maybe with some point of extension. Not sure how: IEventHandler called by LocalizationController? adding ContentPartDriver method?
What do you think?
Thank you for sharing your opinion with me.
The text was updated successfully, but these errors were encountered: