You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not an experienced Javascript developer and I'm having trouble having basic features to work ...
I'm probably missing something ;)
First, I've cloned the repository, edited the index.html file and add at the first line after <div class="container"> :
Test : <p data-i18n="one"></p>
This result to : Test : .
But, after reading the doc, I would think that, as the page contains <html lang="en" dir="ltr"> , I would see Test : ONE because demo-en.json contains "one": "ONE".
The rest of the page works when I change the value in the dropdown. So I think I have misunderstood something.
I tested another thing and I have an unexpected behavior too.
I edited the demo.js file and at the end of the last function I added :
Once again, regarding to the doc, I would expect to view the translation of 'one' which is in the demo-he.json file. But I only see one. Whatever the message I search I always have the key displayed and not the value.
Am I missing something ?
Thanks in advance for your time 👍
The text was updated successfully, but these errors were encountered:
Hello !
Thanks for your work and your great library :)
I'm not an experienced Javascript developer and I'm having trouble having basic features to work ...
I'm probably missing something ;)
First, I've cloned the repository, edited the index.html file and add at the first line after
<div class="container">
:Test : <p data-i18n="one"></p>
This result to :
Test :
.But, after reading the doc, I would think that, as the page contains
<html lang="en" dir="ltr">
, I would seeTest : ONE
becausedemo-en.json
contains"one": "ONE"
.The rest of the page works when I change the value in the dropdown. So I think I have misunderstood something.
I tested another thing and I have an unexpected behavior too.
I edited the demo.js file and at the end of the last function I added :
Once again, regarding to the doc, I would expect to view the translation of 'one' which is in the
demo-he.json
file. But I only seeone
. Whatever the message I search I always have the key displayed and not the value.Am I missing something ?
Thanks in advance for your time 👍
The text was updated successfully, but these errors were encountered: