Skip to content

Commit

Permalink
Adding i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Apr 13, 2023
1 parent 09509b5 commit 3fdba32
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/module-elasticsuite-catalog/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,7 @@ Attributes,Attributes
"If enabled, child products SKUs of composite products will be indexed in a separate field and the ""sku"" field will only contain the parent product sku.","If enabled, child products SKUs of composite products will be indexed in a separate field and the ""sku"" field will only contain the parent product sku."
"Enable indexing discount on child products","Enable indexing discount on child products"
"Enable this if your catalog contains configurable products that are having childrens with different prices that could have separated discounts.","Enable this if your catalog contains configurable products that are having childrens with different prices that could have separated discounts."
"Use this field for span queries","Use this field for span queries"
"Discard the field length for scoring","Discard the field length for scoring"
"Default : No. If set to Yes, the engine will try to match the current query string at the beginning of this string. Eg: when enabled on ""name"", if a customer search for ""red dress"", the engine will give an higher score to products having a name beginning by ""red dress"". This requires the Span Match Boost feature to be enabled.",""Default : No. If set to Yes, the engine will try to match the current query string at the beginning of this string. Eg: when enabled on ""name"", if a customer search for ""red dress"", the engine will give an higher score to products having a name beginning by ""red dress"". This requires the Span Match Boost feature to be enabled."
"Default : No. By default, the score of a text match in a field will vary according to the field length. Eg: when searching for ""dress"", a product named ""red dress"" will have an higher score than a product named """red dress with long sleeves"". You can set this to ""Yes"" to discard this behavior.","Default : No. By default, the score of a text match in a field will vary according to the field length. Eg: when searching for ""dress"", a product named ""red dress"" will have an higher score than a product named """red dress with long sleeves"". You can set this to ""Yes"" to discard this behavior."
4 changes: 4 additions & 0 deletions src/module-elasticsuite-catalog/i18n/fr_FR.csv
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,7 @@ Attributes,Attributs
"If enabled, child products SKUs of composite products will be indexed in a separate field and the ""sku"" field will only contain the parent product sku.","Si activé, les SKUs des produits enfants des produits composites seront stockés dans un champ à part. Le champ ""sku"" du parent ne contiendra que son SKU."
"Enable indexing discount on child products","Calculer les discounts sur les produits enfants"
"Enable this if your catalog contains configurable products that are having childrens with different prices that could have separated discounts.","Activez cette option si votre catalogue contient des produits configurables ayant des enfants dont les prix de base sont différents et pouvant avoir des prix barrés différents."
"Use this field for span queries","Booster les matchs sur le début du champ"
"Discard the field length for scoring","Ignorer la longueur du champ dans le scoring"
"Default : No. If set to Yes, the engine will try to match the current query string at the beginning of this string. Eg: when enabled on ""name"", if a customer search for ""red dress"", the engine will give an higher score to products having a name beginning by ""red dress"". This requires the Span Match Boost feature to be enabled.","Par défaut : Non. Quand cette option est activée, le moteur donnera plus de poids aux produits pour lesquels ce champ commence par les mêmes mots que la recherche de l'internaute. Ex: si activé sur ""name"", et qu'un client recherche ""robe rouge"", le moteur donnera un score plus élevé aux produits ayant un nom commençant par ""robe rouge"". Cette configuration nécessite d'activer la ""Recherche par le début des champs"" dans la configuration de la pertinence Elasticsuite."
"Default : No. By default, the score of a text match in a field will vary according to the field length. Eg: when searching for ""dress"", a product named ""red dress"" will have an higher score than a product named """red dress with long sleeves"". You can set this to ""Yes"" to discard this behavior.","Par défaut : Non. Par défaut, le score d'un champ varie en fonction de sa longueur. Par exemple: si un client cherche ""robe"", un produit nommé ""robe rouge"" aura un meilleur score qu'un produit nommé "robe rouge à manche longues". Vous pouvez mettre cette option à ""Oui"" pour désactiver ce comportement."
4 changes: 4 additions & 0 deletions src/module-elasticsuite-core/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ Autocomplete,Autocomplete
"The value should be different to zero.","The value should be different to zero."
"The number of replicas configured for Elasticsuite is incorrect. You cannot use <strong>%1 replicas</strong> since there is only <strong>%2 nodes</strong> in your Elasticsearch cluster.","The number of replicas configured for Elasticsuite is incorrect. You cannot use <strong>%1 replicas</strong> since there is only <strong>%2 nodes</strong> in your Elasticsearch cluster."
"Click here to go to the <a href=""%1""><strong>Elasticsuite Config</strong></a> page and change your <strong>Number of Replicas per Index</strong> parameter according to our <a href=""%2"" target=""_blank""><strong>wiki page</strong></a>.","Click here to go to the <a href=""%1""><strong>Elasticsuite Config</strong></a> page and change your <strong>Number of Replicas per Index</strong> parameter according to our <a href=""%2"" target=""_blank""><strong>wiki page</strong></a>."
"Span Match Configuration","Span Match Configuration"
"Enable Boost on Span Match","Enable Boost on Span Match"
"Span Match Boost Value","Span Match Boost Value"
"Number of words to match at the beginning of the string","Number of words to match at the beginning of the string"
4 changes: 4 additions & 0 deletions src/module-elasticsuite-core/i18n/fr_FR.csv
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ General,Général
"The value should be different to zero.","La valeur doit être différente de zéro."
"The number of replicas configured for Elasticsuite is incorrect. You cannot use <strong>%1 replicas</strong> since there is only <strong>%2 nodes</strong> in your Elasticsearch cluster.","Le nombre de replicas configuré pour Elasticsuite est incorrect. Vous ne pouvez pas utiliser <strong>%1 replicas</strong> car il n'y a que <strong>%2 nodes</strong> dans votre cluster Elasticsearch."
"Click here to go to the <a href=""%1""><strong>Elasticsuite Config</strong></a> page and change your <strong>Number of Replicas per Index</strong> parameter according to our <a href=""%2"" target=""_blank""><strong>wiki page</strong></a>.","Cliquez ici pour accéder à la <a href=""%1""><strong>configuration Elasticsuite</strong></a> et changer le paramètre <strong>Nombre de replicas par Index</strong> conformément à notre <a href=""%2"" target=""_blank""><strong>page de wiki</strong></a>."
"Span Match Configuration","Recherche sur le début des champs"
"Enable Boost on Span Match","Activer le boost sur le début des champs"
"Span Match Boost Value","Valeur du boost"
"Number of words to match at the beginning of the string","Nombre de mots à matcher au début des champs"

0 comments on commit 3fdba32

Please sign in to comment.