-
Notifications
You must be signed in to change notification settings - Fork 176
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
Basic installation with script tags #356
Comments
Hello @tacman, i'm in the same situation. Do you solve this error? |
No. I'll probably switch to https://symfony.com/bundles/ux-translator/current/index.html when I get around to focusing on javascript-based translations. |
is the translator.min.js file loaded properly or do you have another error before that for the loading of that file ? |
@stof , I see it's not loaded but it's present in the bundles/ directory. After following the doc here is my code :
and here i want use the Translator object with Datatable:
|
where is the code of your second snippet ? |
it's in the datatable.js |
@stof do you find a solution for me? |
I don't have an idea. Would it be possible to create a reproducing case for the issue (i.e. a small Symfony project in which this error happens while using the minimal amount of code for that, which we could run to investigate as well) ? |
I'm missing something basic about how to load this.
translations:19 Uncaught ReferenceError: Translator is not defined
at translations:19:4
(anonymous) @ translations:19
I've also been playing around with loading it as a module, but I figured I'd at least get a basic installation working first. Can anyone point me in the right direction?
Gracias.
The text was updated successfully, but these errors were encountered: