[LIVECOPY-259] I18n configuration OOTB with module installation Created: 13/May/21  Updated: 17/Aug/21  Resolved: 26/Jul/21

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Mercedes Iruela Assignee: Chuong Doan Huy
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1d 2.5h
Original Estimate: Not Specified

Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Live Copy maintenance
Sprint: Content Mngmt 09
Story Points: 5

 Description   

Steps to reproduce

  1.  Install livecopy in your instance
  2.  if you use i18n in your sites it won't work as expected until you configure following this steps: https://docs.magnolia-cms.com/product-docs/Special-Features/Live-Copy/Live-Copy-module.html#_internationalization

.. Logs, screenshots, gifs...

Expected results

Livecopy is working with i18n OOTB
.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

You have to do some manual setup.

Workaround

https://docs.magnolia-cms.com/product-docs/Special-Features/Live-Copy/Live-Copy-module.html#_internationalization

Development notes

Discussion:
add checkbox to create site definition node for livecopy when create live copy from page
check i18n for livecopy



 Comments   
Comment by Chuong Doan Huy [ 23/Jul/21 ]

Hi miruela,
We can enable multilanguage authoring for LC by default by bootstraping "LiveCopyMultiSiteI18nAuthoringSupport" into "/config/server/i18n/authoring" node, but there is a concern : at installation time, we did not know yet whether the user is going to use single-tree multi-language or multi-tree multi-language or even not use i18n at all ? So that config may not need/work for all of those cases ?
What do you think ?

Comment by Mercedes Iruela [ 23/Jul/21 ]

I understand and agree. Thanks for looking into it.

luke.trueman Please, take a look at the above comment.

Comment by Luke Trueman [ 23/Jul/21 ]

Thanks - that makes sense. Is there something else we can do to make this easier for the user? Could it be a configured value as part of the livecopy module, and if set to Y it decorates this value? Just trying to think of an idea to make this more user friendly (and so each time you deploy to a new instance this class doesn't need to be re set). If we can't do anything that's fine, but any ideas would be welcome! 

Comment by Chuong Doan Huy [ 26/Jul/21 ]

Unfortunately, at this time we don't have dynamic pre-configurations before installation.
But maybe options at creating live-copy time :

  • In the "create live copy" dialog, we can add checkbox like "create site configuration for live copy site". If checked, we duplicate the site configuration of master page for slave page (currently user have to do that manually)
  • Another checkbox like "enable i18n for live copy site". If checked, we enable i18n for live copy site by setting classes mentioned in the documentation
    What do you think ?
Comment by Luke Trueman [ 26/Jul/21 ]

Thanks chuong.doan for the ideas, and thank you ldelnevo - what you have said makes sense to me

Generated at Mon Feb 12 02:27:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.