Skip to content
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

Could not load translate Element #11

Open
lisandi opened this issue Sep 29, 2021 · 2 comments
Open

Could not load translate Element #11

lisandi opened this issue Sep 29, 2021 · 2 comments

Comments

@lisandi
Copy link

lisandi commented Sep 29, 2021

Not sure why but I am receiving the error that the translate Element could not be loaded.
Screen Shot 2021-09-29 at 15 00 19

html10n.js?v=c1d5264e:908 Unexpected error: could not translate element content for key ep_embedmedia.embed <li id=​"insertEmbedMedia" data-type=​"button" data-l10n-id=​"ep_embedmedia.embed">​flex<a title=​"Embed Media" data-l10n-id=​"ep_embedmedia.embed">​flex<button class=​"buttonicon buttonicon-align-left buttonicon-embed-media" data-align=​"0" aria-label=​"Embed Media">​flex::before​</button>​</a>​</li>​
window.html10n.html10n.translateNode @ html10n.js?v=c1d5264e:908
window.html10n.html10n.translateElement @ html10n.js?v=c1d5264e:731
(anonymous) @ html10n.js?v=c1d5264e:715
(anonymous) @ html10n.js?v=c1d5264e:955
each @ html10n.js?v=c1d5264e:745
window.html10n.Loader.load @ html10n.js?v=c1d5264e:134
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
window.html10n.Loader.load @ html10n.js?v=c1d5264e:134
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
window.html10n.Loader.load @ html10n.js?v=c1d5264e:134
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
(anonymous) @ html10n.js?v=c1d5264e:144
window.html10n.Loader.parse @ html10n.js?v=c1d5264e:242
window.html10n.Loader.fetch @ html10n.js?v=c1d5264e:154
window.html10n.Loader.load @ html10n.js?v=c1d5264e:139
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
(anonymous) @ html10n.js?v=c1d5264e:144
window.html10n.Loader.parse @ html10n.js?v=c1d5264e:242
xhr.onreadystatechange @ html10n.js?v=c1d5264e:169
XMLHttpRequest.send (async)
(anonymous) @ VM5262:1
window.html10n.Loader.fetch @ html10n.js?v=c1d5264e:175
window.html10n.Loader.load @ html10n.js?v=c1d5264e:139
(anonymous) @ html10n.js?v=c1d5264e:923
asyncForEach @ html10n.js?v=c1d5264e:741
window.html10n.html10n.build @ html10n.js?v=c1d5264e:921
window.html10n.html10n.localize @ html10n.js?v=c1d5264e:713
(anonymous) @ l10n.js?v=c1d5264e:9
trigger @ html10n.js?v=c1d5264e:106
window.html10n.html10n.index @ html10n.js?v=c1d5264e:989
(anonymous) @ html10n.js?v=c1d5264e:994
html10n.js?v=c1d5264e:908 Unexpected error: could not translate element content for key ep_embedmedia.embed <a title=​"Embed Media" data-l10n-id=​"ep_embedmedia.embed">​…​</a>​flex
window.html10n.html10n.translateNode @ html10n.js?v=c1d5264e:908
window.html10n.html10n.translateElement @ html10n.js?v=c1d5264e:731
(anonymous) @ html10n.js?v=c1d5264e:715
(anonymous) @ html10n.js?v=c1d5264e:955
each @ html10n.js?v=c1d5264e:745
window.html10n.Loader.load @ html10n.js?v=c1d5264e:134
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
window.html10n.Loader.load @ html10n.js?v=c1d5264e:134
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
window.html10n.Loader.load @ html10n.js?v=c1d5264e:134
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
(anonymous) @ html10n.js?v=c1d5264e:144
window.html10n.Loader.parse @ html10n.js?v=c1d5264e:242
window.html10n.Loader.fetch @ html10n.js?v=c1d5264e:154
window.html10n.Loader.load @ html10n.js?v=c1d5264e:139
(anonymous) @ html10n.js?v=c1d5264e:923
each @ html10n.js?v=c1d5264e:744
(anonymous) @ html10n.js?v=c1d5264e:144
window.html10n.Loader.parse @ html10n.js?v=c1d5264e:242
xhr.onreadystatechange @ html10n.js?v=c1d5264e:169
XMLHttpRequest.send (async)
(anonymous) @ VM5262:1
window.html10n.Loader.fetch @ html10n.js?v=c1d5264e:175
window.html10n.Loader.load @ html10n.js?v=c1d5264e:139
(anonymous) @ html10n.js?v=c1d5264e:923
asyncForEach @ html10n.js?v=c1d5264e:741
window.html10n.html10n.build @ html10n.js?v=c1d5264e:921
window.html10n.html10n.localize @ html10n.js?v=c1d5264e:713
(anonymous) @ l10n.js?v=c1d5264e:9
trigger @ html10n.js?v=c1d5264e:106
window.html10n.html10n.index @ html10n.js?v=c1d5264e:989
(anonymous) @ html10n.js?v=c1d5264e:994

How can I actually test the translations locally.
I read here https://etherpad.org/doc/v1.8.14/#index_localization but no translations changes show up. What else needs to be done or activated in the plugins to see or test translations locally?

@JohnMcLear
Copy link
Member

Duplicate of redhog#10

@JohnMcLear JohnMcLear marked this as a duplicate of redhog/ep_embedmedia#10 Oct 1, 2021
@JohnMcLear
Copy link
Member

I'm just not getting enough time to look at these minor issues so if you can poke around and see what's broken by comparing the implementation against other plugins that should help resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants