hellofresh-database icon indicating copy to clipboard operation
hellofresh-database copied to clipboard

Canada English PDFs

Open junglernr opened this issue 1 year ago • 6 comments

Describe the bug The Canadian English pdf links are leading to the French pdfs

junglernr avatar Oct 01 '24 15:10 junglernr

The PDF links seem to be identical?

For example, when I open the PDF for this recipe, it doesn't matter whether I have set it to English or French at the top. I always get an English PDF: https://www.hellofresh.ca/recipes/seared-provencal-steak-573b64dbf8b25e2e7b8b4567?locale=fr-CA

But I will compare this with the API. There must be a difference somewhere.

Muetze42 avatar Oct 01 '24 16:10 Muetze42

And I only ever get a French PDF via the API, regardless of whether I use “en-CA” or “fr-CA”. Just like on the website: https://www.hellofresh.ca/recipes/seared-provencal-steak-573b64dbf8b25e2e7b8b4567

I don't know how it works in Canada. Do you always receive the PDF in a selected language from HelloFresh?

Muetze42 avatar Oct 04 '24 12:10 Muetze42

Ahh. https://www.hellofresh.ca/recipes/broiled-salmon-and-garlicky-shrimp-66635bc845478430853ef638

Here exsting 2 PDFs:

  • 66635bc845478430853ef638-en-CA.pdf
  • 66635bc845478430853ef638-fr-CA.pdf

Unfortunately, some recipes only seem to be available in one language and some in both languages.

I will include the change, but for many recipes a PDF only exists in one language. Presumably a recipe will only be translated as soon as it ends up in one of the cooking boxes.

Muetze42 avatar Oct 04 '24 12:10 Muetze42

Yeah I've always gotten the recipe cards in English. When I use your links to "view on hellofresh" and then click their link to download pdf I get the English version.

On Fri, Oct 4, 2024, 06:34 Norman Huth @.***> wrote:

Ahh.

https://www.hellofresh.ca/recipes/broiled-salmon-and-garlicky-shrimp-66635bc845478430853ef638

Here exsting 2 PDFs:

  • 66635bc845478430853ef638-en-CA.pdf
  • 66635bc845478430853ef638-fr-CA.pdf

Unfortunately, some recipes only seem to be available in one language and some in both languages.

I will include the change, but for many recipes a PDF only exists in one language. Presumably a recipe will only be translated as soon as it ends up in one of the cooking boxes.

— Reply to this email directly, view it on GitHub https://github.com/Muetze42/hellofresh-database/issues/40#issuecomment-2393605945, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLYGNRH3VNO3UCRORKMHO4DZZ2DMNAVCNFSM6AAAAABPF4XTHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTGYYDKOJUGU . You are receiving this because you authored the thread.Message ID: @.***>

junglernr avatar Oct 04 '24 19:10 junglernr

Some recipes have both languages as PDF and others only 1 language. But I have no influence on that either.

With the new version, however, both languages are synchronized according to the language, even if 2 languages are available as PDF.

Muetze42 avatar Oct 04 '24 19:10 Muetze42

Oh OK gotcha. Thanks for looking into this

On Fri, Oct 4, 2024, 13:22 Norman Huth @.***> wrote:

Some recipes have both languages as PDF and others only 1 language. But I have no influence on that either.

With the new version, however, both languages are synchronized according to the language, even if 2 languages are available as PDF.

— Reply to this email directly, view it on GitHub https://github.com/Muetze42/hellofresh-database/issues/40#issuecomment-2394425768, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLYGNRBBKYZQMAL6A6XEMSTZZ3THHAVCNFSM6AAAAABPF4XTHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUGQZDKNZWHA . You are receiving this because you authored the thread.Message ID: @.***>

junglernr avatar Oct 04 '24 19:10 junglernr