Skip to content
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

[BUG] No category translations in free mode #4282

Open
ulrike-cosmoblonde opened this issue Jan 15, 2025 · 7 comments
Open

[BUG] No category translations in free mode #4282

ulrike-cosmoblonde opened this issue Jan 15, 2025 · 7 comments

Comments

@ulrike-cosmoblonde
Copy link

Using TYPO3 v12 and the solr extension (12.0.5) on a multi-language website in freemode, all categories are indexed with the original version (sys_language_uid = 0) and not the translated category.

The indexing configuration is standard (e.g. for tx_news):

categories_stringM = SOLR_RELATION
categories_stringM {
    localField = categories
    multiValue = 1
}

I can reproduce the problem on several of my TYPO3 v12 website using solr and categories.
I assume the same problem will happen for any SOLR_RELATION - not just categories.

The "old" behaviour (since TYPO3 v9 and at least up to TYPO3 v11) on those websites did index the translated version of the category if it existed and the fallback was the original category.

If I change to strict mode, then it seems to work as expected.

@dkd-kaehm
Copy link
Collaborator

@ulrike-cosmoblonde
Are the sys_categories on PID 0?
Could you try to move them all to a Root-PID, and try again?

@ulrike-cosmoblonde
Copy link
Author

@dkd-kaehm Moving the categories to PID 0 does not change the behaviour

@dkd-kaehm
Copy link
Collaborator

@dkd-kaehm Moving the categories to PID 0 does not change the behaviour

Not to 0, but to the root page, which has translations.

@ulrike-cosmoblonde
Copy link
Author

@dkd-kaehm
Sorry, I misunderstood you before. All categories where in a subfolder on a specific PID (so language information should have been available). I have now moved them to the root PID and the problem persists.

@dkd-kaehm
Copy link
Collaborator

dkd-kaehm commented Jan 15, 2025

Is this PID translated, also folder as well?

@ulrike-cosmoblonde
Copy link
Author

ulrike-cosmoblonde commented Jan 15, 2025

Yes, the folder where the categories were in before was translated and the root folder (were the categories are in now) is translated too.

As described above, it happens on several of my TYPO3 projects and all were indexing before by using the translated version of the categories. And it only happens if the site language is configured in free mode.

@ulrike-cosmoblonde
Copy link
Author

Hi, any news on this?
Could you reproduce the problem?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants