- Posts: 14642
- Thank you received: 2029
Please Log in or Create an account to join the conversation.
So, for testing, I have enforced the load at each call, and added some suffixes to the returned value to see what comes from.babynus wrote: Array can be empty at some moments, as it is loaded dynamically.
Via javascript, no one, nowhere !babynus wrote: In the profile screen, do you have some names translated ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No « special characters ». Therefore, nothing is loaded neither for french nor for english, and this one is pure ASCII !babynus wrote: So it seems you broke something in the lang.js file that prohibits its loading.
Some special caracters may cause this, or some "not reallu special" ones suche as point or line break.
Not at this time, only direct update in lang.js files.babynus wrote: How did you generate lang.js file ?
Did you use lang.xls ?
Please Log in or Create an account to join the conversation.
Can you try and retrieve standard lang.js file and check that profile names are translated in the list (working fine with standard version).No « special characters ». Therefore, nothing is loaded neither for french nor for english, and this one is pure ASCII !
Verified all end-of-line : LR+NL (DOS-Windows) everywhere. Tried NL (Unix), no change.
Found an error due to sort made on the entire file (except first and last lines which are delimiters: the last line (currentLocaleOfFile) was not in alphabetical place, so it was moved to the middle without terminal comma, whereas the new last line (year) kept a comma. But afted correction, still no change.
Advise : use lang.xls file to add new lines and generate lang.js filesNot at this time, only direct update in lang.js files.
As translation works fine woth standard version and not with your own, I'm almost sure issue comes from the new lines.But fr/lang.js and en/lang.js (identical to nls/lang.js, a symbolic link would be more appropriate than a duplication… but problematic under Windows, I suppose) have been in-depth checked, I’m sure they are O.K.
Sorry, but I'll spend no time to analyze your own changes. I would do this only for paid support customers.However, they are in attachment here (suffixes with ".txt" to be accepted as attachments), so you can verify by yourself..
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.