question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Translation Service - Untranslatable is not defined

See original GitHub issue

Hi! I have noticed through a friend and myself doing this exercise that the error Untranslatable that has to be used in step 4 is not defined in the service.js file. It is in the errors.js file, but it is not coming through. This makes the following error happen when the error is used in step 4:

ReferenceError: Untranslatable is not defined
    at <solution>/service.js:105:30

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
junedevcommented, Dec 8, 2021

To me it looks like it’s possible to solve the exercise without knowledge of these specific error classes as they are not used in our example solutions. My guess is that using the errors explicitly is nevertheless a reasonable solution so yes, we should make sure they are available.

@khendrikse It would be great if you could let us know whether you saw this error when solving the exercise locally or on the website and also provide me with the solution that produces that error.

1reaction
junedevcommented, Dec 2, 2021

Oh, sorry. My mistake. 🙈 Somehow I thought there was an issue for that PR as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting an untranslatable date field to required makes ... - Drupal
1. On a translatable content-type add a 'Test date' date field that is not translatable and not required · 2. Create a node,...
Read more >
Translating the Untranslatable: A New Approach from Susan ...
Translation as an art is often underestimated, especially by monolingual individuals who do not understand the intricate differences between languages.
Read more >
5 Ways To Translate Words… That You Can't Actually Translate
Whether you believe in italics or not, some translators adopt the original term as they believe that untranslatable words work and sound ...
Read more >
Is "Weltschmerz" an untranslatable word?
In short, no, Weltschmerz is not untranslatable, but it's often rather hard to translate well into English. The real question is either ...
Read more >
The Ant That Became a Nit. How untranslatable is Dutch?
Translators are indispensable passeurs de culture: thanks to them Dutch speakers may discover texts from other language areas and non-native ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found