Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions helix-query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3955,3 +3955,58 @@ indices:
include:
- /cis_ru/cc-shared/fragments/merch/**/merch-card/**
target: /cis_ru/cc-shared/assets/query-index-cards.xslx

lingo-mapping-ca_fr:
target: /ca_fr/creativecloud/plans/merch-shared/assets/lingo/query-index.xslx

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/creativecloud/plans.. appears to store index for both /ca_fr/creativecloud/plans and /ca_fr/products/catalog paths

Usually the index are placed in at root e.g. /cc-shared/assets should a similar be used e.g. /merch-shared/assets/ be used

cc: @nkthakur48

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raga-adbe-gh The shared folder will be creativecloud/plans/merch-shared

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is the way that lingo is built, it expects one primary query index for lingo per locale per project. The query indexes also have to live at a specific path like @raga-adbe-gh called out, because that contract makes link localization faster.
For now can we have these pages live in /cc-shared/assets/lingo until upp is ready to have its own query index?

include:
- /ca_fr/creativecloud/plans
- /ca_fr/creativecloud/plans/**
- /ca_fr/products/catalog
- /ca_fr/products/catalog/**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fragments need to be part of the Lingo query-index. Are the fragments used by these pages also under these paths?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sukamat Yes, shared assets and fragments are copied creativecloud/plans/merch-shared

exclude:
- "**/drafts/**"
- "**/*.json"

lingo-mapping-be_fr:
target: /be_fr/creativecloud/plans/merch-shared/assets/lingo/query-index.xslx
include:
- /be_fr/creativecloud/plans
- /be_fr/creativecloud/plans/**
- /be_fr/products/catalog
- /be_fr/products/catalog/**
exclude:
- "**/drafts/**"
- "**/*.json"

lingo-mapping-lu_fr:
target: /lu_fr/creativecloud/plans/merch-shared/assets/lingo/query-index.xslx
include:
- /lu_fr/creativecloud/plans
- /lu_fr/creativecloud/plans/**
- /lu_fr/products/catalog
- /lu_fr/products/catalog/**
exclude:
- "**/drafts/**"
- "**/*.json"

lingo-mapping-ch_fr:
target: /ch_fr/creativecloud/plans/merch-shared/assets/lingo/query-index.xslx
include:
- /ch_fr/creativecloud/plans
- /ch_fr/creativecloud/plans/**
- /ch_fr/products/catalog
- /ch_fr/products/catalog/**
exclude:
- "**/drafts/**"
- "**/*.json"

lingo-mapping-fr:
target: /fr/creativecloud/plans/merch-shared/assets/lingo/query-index.xslx
include:
- /fr/creativecloud/plans
- /fr/creativecloud/plans/**
- /fr/products/catalog
- /fr/products/catalog/**
exclude:
- "**/drafts/**"
- "**/*.json"
Loading