webL10n icon indicating copy to clipboard operation
webL10n copied to clipboard

Client-side internationalization / localization library

Results 28 webL10n issues
Sort by recently updated
recently updated
newest added

import("foo.js") is broken import(foo.js) works

Hi! Hope someone may help me, please. I have a very simple one-page website. I connected this library: used your l10n.js, added locales.ini with: `[*] @import url(data.en.properties) [ru] @import `url(data.ru.properties)`...

Fix "unable to find translation for key" [l10n.zip](https://github.com/fabi1cazenave/webL10n/files/964213/l10n.zip)

SemanticUI uses data-attributes for specifying [tooltip/popup](https://semantic-ui.com/modules/popup.html) values. Example: ``` ``` I've tried setting up many variants in the ini file, like: ``` name.data-tooltip name.data[tooltip] name.dataTooltip ``` but the data-atrribute never...

This is a PR to fix the issue discussed in #75. I have been using this code without any side effects, let me know if you think it is not...

Hi, as part of porting Loqui (which uses this library) we are seeing a lot of undefined warning logs according to the following code: ``` js function getL10nData(key, args, fallback)...

Hi, I am trying to mix plural and properties other than `textContent`, such as `innerHTML`. My properties file contains: ``` available_bikes.innerHTML = {[ plural(n) ]} available_bikes[zero].innerHTML = availablebike available_bikes[one].innerHTML =...

Subj. Error is here: ... // initialize _pluralRules if (!gMacros._pluralRules) { gMacros._pluralRules = getPluralRules(gLanguage); } ... so, pluralRules are intializaed only once. To fix it, remove if statement: ... //...

Resolve nested arguments like this: ``` properties shopAddress = You are here: {{ shop.name }} {{ shop.street }} ``` ``` html Loading... ```

Right now when new elements are added using `data-l10n` attributes, they're not translated live. Using Mutation Observers may solve the issue and bring a nice feature to the lib.