Pnp-modern-search: PnP search Refiner(v4) Web Part is not translating Date range labels(From, To) and Calendar popup in French

Created on 16 Feb 2021  Â·  17Comments  Â·  Source: microsoft-search/pnp-modern-search

These are the steps. Please see attached file with screenshots.

  1. Communication site collection (language – English and French).
  2. Create site page (English) and render PnP search result & Refiner web parts.
  3. Set the Refiner web part properties, save and publish the page.
  4. Translate page(Multilingual) for French language and publish the page.
  5. Login with French user profile account and access the French page.
  6. Concern, Refiner web part – Date range labels are showing in English.

Issue1 – “From” and “To” labels are showing in English. It is an issue.
Issue2 – Calendar is coming in English only. It is an issue.
Issue3 – Selected values from calendar popup are showing in French. It is correct.

PnP Search Refiner Issue - French Profile.docx

enhancement v4

All 17 comments

We currently only have English language support in v4, and we will accept PR's for translating the en-us.js files 👍

Thanks @wobba for the update. I am creating corresponding es-es.js and fr-fr.js files with the translations to provide support for French and Spanish and will be submitting a PR once I get through that.

Merci @robegoja !

Thanks @wobba for the update. I am creating corresponding es-es.js and fr-fr.js files with the translations to provide support for French and Spanish and will be submitting a PR once I get through that.

Hey, I'll help @robegoja for the French translation ... I'm French from France and moved to Canada in 2010, adopting the French-Canadian language (both Franco-Ontarian and Québécois) during this time :-) - there will be a couple of challenges as I'm more an Exchange specialist than a Sharepoint specialist, but we'll manage to do it correctly :-)

@SammyKrosoft ça devrait le faire, l'important c'est que les traductions aient du sens ;)

@SammyKrosoft ça devrait le faire, l'important c'est que les traductions aient du sens ;)

Oui, notre bon Robert m'a parlé un peu de ses déboires avec le Francais, hehe :-) Francky, connais-tu un peu le produit et pourrais-tu valider quelques unes des traductions (comme "Page Token" - "Jeton de page" ? ou encore "Array type field" - "Champ de type tableau" ?) ? Merci d'avance :-)

Haha @SammyKrosoft, if I know the solution? Well pretty much I would say ;). Just submit a PR and I will review the terms. If you plan to do translations for multiple languages, please do this is separate PRs. Thanks!

Haha @SammyKrosoft, if I know the solution? Well pretty much I would say ;). Just submit a PR and I will review the terms. If you plan to do translations for multiple languages, please do this is separate PRs. Thanks!

Excellent, I'll do this :-) I'll only do this for the language I know (French), I'll let our good Robert coordinate for the other languages ;-)

Thanks @SammyKrosoft once again and @FranckyC, I am meeting with another colleague who was from Columbia and lived in Spain for a while regarding the Spanish.

@FranckyC j'ai le droit de faire un PR dans ce repository ?

@SammyKrosoft you can submit a PR yes, that's how open source works ;). Doing a PR is different than commiting directly in the repo.

@SammyKrosoft you can submit a PR yes, that's how open source works ;). Doing a PR is different than commiting directly in the repo.

Ooooh got it thanks ! Apologize for asking, I'm fairly new in Open source collaboration :-) ... mostly coding Powershell code :s

@FranckyC any plans on merge to master and perhaps even release?
Avec autant de francophones sur le dossier, surement qu'on peut faire avancer ça.
Si il y a besoin de revision linguistique, ou que je regarde quelque chose, juste me le laisser savoir.

@martincyr No ETA yet for the next version but you can still build from the develop branch. Pour la révision linguistique, simplement revoir les fichier fr-fr.js si possible. Merci!

I will try to get a version out this week.

Hello, we are testing "PnP - Search Results" and "PnP - Search Filters" with
"PnP Modern Search (v4)" and we have the same problems you report with the French language. Don't forget the term "44 Results for *" is not translated in webpart "PnP - Search Results" when configuring the results count :
ResultsForNotTranslated

It is not possible to configure French in the "PnP - Search Results" web part. The configuration does not apply.
ImpossibleToSetFrench.

Are you going to produce a 4.1 version to solve these issues? Please keep us informed as soon as the update is ready.

4.2.2 is out.
image

Was this page helpful?
0 / 5 - 0 ratings