[MURLTRANS-25] DOC: Prevent users from changing the default name Created: 11/Jun/22  Updated: 16/Jan/24  Resolved: 16/Jan/24

Status: Closed
Project: URL Translation
Component/s: None
Affects Version/s: 6.2.3
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Ueli Scheidegger Assignee: Richard Gange
Resolution: Workaround exists Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File lang-specific-tab.png    
Issue Links:
causality
relation
is related to MURLTRANS-33 Prepare for 6.2.4 release Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

When a field for the url translations is added to the page properties, let's say "name", then the editors can fill in values in all languages, including the default language. But the url translation module completely ignores the value for the default language, and only uses the page name. While this might make sense from the technical POV, this leads to confusion for the editors.

Workaround
Define a URL Translation tab which defines fields for each language. Do not internationalize the name field but instead create a dedicated tab for URL Translation which defines a field for each language you need to capture.

For example if I decorate the MTK2 basic page properties.
/my-module/decorations/mtk2/dialogs/pages/basic.yaml

form: 
  properties: 
    name_de: 
      label: German
      $type: textField
      i18n: false
    name_fr: 
      label: French
      $type: textField
      i18n: false
  layout: 
    tabs: 
      - name: tabTranslation
        label: URL Translation
        fields: 
          - name: name_de
          - name: name_fr

Then I get this:


Generated at Mon Feb 12 11:08:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.