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

Feature: Make map_attribute support showing all languages - Support multi language search #42

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

syphax-bouazzouni
Copy link

Context

Follow up of #41

This PR makes 'map_attributes` method handle the option showing all the languages; this method is used to map the unmapped values to the mapped ones (e.g skos:prefLabel to the model attribute prefLabel) and is used in the indexation process.

So making the method multilingual is mandatory and the first step to make the search/index multilingual.

Changes

  • Change the getters show_all_languages argument from to include_languages (5952f87)
  • Make the map_attributes method handle the option showing all the languages (a81f12c)

@syphax-bouazzouni syphax-bouazzouni self-assigned this Jul 14, 2023
@syphax-bouazzouni syphax-bouazzouni merged commit 84763b8 into development Jul 14, 2023
syphax-bouazzouni added a commit that referenced this pull request Jul 20, 2023
…ngual-search

Feature: Make map_attribute support showing all languages - Support multi language search
syphax-bouazzouni added a commit that referenced this pull request Jul 20, 2023
…ngual-search

Feature: Make map_attribute support showing all languages - Support multi language search
syphax-bouazzouni added a commit that referenced this pull request Sep 5, 2023
…ngual-search

Feature: Make map_attribute support showing all languages - Support multi language search
syphax-bouazzouni added a commit that referenced this pull request Sep 5, 2023
…ngual-search

Feature: Make map_attribute support showing all languages - Support multi language search
syphax-bouazzouni added a commit that referenced this pull request Sep 5, 2023
…ngual-search

Feature: Make map_attribute support showing all languages - Support multi language search
syphax-bouazzouni added a commit that referenced this pull request Sep 7, 2023
…ngual-search

Feature: Make map_attribute support showing all languages - Support multi language search
syphax-bouazzouni added a commit that referenced this pull request Dec 4, 2023
* Merge pull request #24 from ontoportal-lirmm/feature/support-multilingual-read-one-language-from-request-parameter

Feature : Support multilingual - Phase 1 - Read one language

* Merge branch pull request #32 from feature/language-return-all

* group unmapped properties by lang

* Feature: group unmapped properties by language  (#38)

* group unmapped properties by lang

* downcase language keys of unmapped properties

---------

Co-authored-by: Syphax bouazzouni <[email protected]>

* Feature: Support multi lingual -  add show_language argument to the attributes getters (#39)

* update define_method

* update solution mapper

* update get_preload_value

* Merge pull request #40 from ontoportal-lirmm/support-muli-lang-part-02

Fix: save_model_values if unmmaped condition

* Merge pull request #41 from ontoportal-lirmm/support-muli-lang-part-02

Feature: Refactor and fix the Language filter method

* Merge pull request #42 from ontoportal-lirmm/feature/support-multi-langual-search

Feature: Make map_attribute support showing all languages - Support multi language search

---------

Co-authored-by: HADDAD Zineddine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant