Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Respect multiple languages #25

Open
DanielSiepmann opened this issue Dec 15, 2016 · 1 comment
Open

Respect multiple languages #25

DanielSiepmann opened this issue Dec 15, 2016 · 1 comment
Assignees
Milestone

Comments

@DanielSiepmann
Copy link
Contributor

Currently it's not tested. We have to add necessary tests and adjust the code to respect multiple languages for pages #24 and everything else.
Pages are special as they have a different language handling. Perhaps there is already a way provided by the TYPO3 Core to handle everything the same way.

@DanielSiepmann
Copy link
Contributor Author

DanielSiepmann commented Mar 7, 2018

@martinhummer is currently implementing multi language support. The only thing we need to change is to provide the field sys_language_uid to DataProcessors. Currently we remove the field inside TcaTableService.

We should remove this part and put this logic to configuration with RemoveDataProcessor instead and check out his solution.

The language implementation can be found at: https://github.com/martinhummer/search_algolia/blob/master/Classes/Service/RelationResolver.php

As each record has a different uid for each sys_language_uid we currently would index all language versions for each record. By adding sys_language_uid you can filter the records for current active language while searching.

In addition getRecordOverlay and RelationHandler should be used.

@DanielSiepmann DanielSiepmann self-assigned this Mar 8, 2018
DanielSiepmann added a commit that referenced this issue Mar 8, 2018
Fetch sys_language_uid from database.

Relates: #25
DanielSiepmann added a commit that referenced this issue Mar 8, 2018
Fetch sys_language_uid from database.

Relates: #25
DanielSiepmann added a commit that referenced this issue Mar 8, 2018
Fetch sys_language_uid from database.

Relates: #25
DanielSiepmann added a commit that referenced this issue Mar 13, 2018
Fetch sys_language_uid from database.
Until now we did not fetch system related fields from database. As there
is now a RemoveProcessor, integrators are able to remove fields.
Also providing this field enables basic multi language support.

Relates: #25
DanielSiepmann added a commit that referenced this issue Mar 14, 2018
Fetch sys_language_uid from database.
Until now we did not fetch system related fields from database. As there
is now a RemoveProcessor, integrators are able to remove fields.
Also providing this field enables basic multi language support.

Relates: #25
DanielSiepmann added a commit that referenced this issue Mar 14, 2018
Fetch sys_language_uid from database.
Until now we did not fetch system related fields from database. As there
is now a RemoveProcessor, integrators are able to remove fields.
Also providing this field enables basic multi language support.

Relates: #25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant