-
Notifications
You must be signed in to change notification settings - Fork 9
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
TypeError: n[r] is undefined #24
Comments
@qiaeru Hi. Any ideas how to fix it? Thanks |
Merci beaucoup, je vais regarder ça de plus près car il n'y a pas de raison visible que le problème persiste. Je suis indisponible aujourd'hui mais je m'y attelle dès que j'ai un moment de libre. 👍 Merci de la remontée ! |
Je viens de déployer la version 1.8.2 de la traduction, qui contient quelques clés de langue manquantes. Pouvez-vous me faire un retour si cela règle le problème cité plus haut, n'étant actuellement pas en capacité de tester par moi-même ? En vous remerciant ! I just released version 1.8.2 of the language pack, which contains some missing language keys. Can you give me feedback if this fixes the above issue (I'm not able to test it by myself at the moment)? Thanks! |
Hi @qiaeru I updated to 1.8.2. At the forum homepage, I have the following error:
When I click on a post from the forum homepage, I have the following error:
I don't have these errors neither in English nor in German. |
Thanks @HLFH! Can you try to disable all the other extensions, like lang-french-extended then give me a feedback if the issue still persists? |
@qiaeru Same issue with lang-french-extended disabled. |
Mmmh thanks. I will investigate further but I don't understand what's wrong. 🤷♂️ |
@qiaeru I was thinking there was a similar issue on flarum-de package. And especially this commit > flarum-lang/german@262f7ef I had a similar issue with flarum-de, but with last release, it is fixed. |
Thank you so much! I wasn't aware that Flarum is now using Day.js and not Moment.js! Communication between the Flarum team and the translators needs to be improved as we are not currently aware of the changes that affect us. I will try to deploy a new version today with the fix, but I think I won't have the time today and it will have to wait until tomorrow. Anyway, a big thank you to you @HLFH! 😉 |
New version released. Can you try to update and to test if everything's okay now? 😀 |
Unfortunately we don't publish a separate guide for language packs, but the Day.js change was presented in the beta 14 update guide for extensions https://docs.flarum.org/extend/update-b14.html#moment-dayjs |
This works amazingly thanks to an amazing @qiaeru. This is clearly something that should have been more communicated in this thread. |
Je viens de tester en local la version 1.8.3 du plugin et je note que l'erreur a été corrigée. J'ai également déployé le correctif sur mon serveur distant sans problème. Merci encore pour votre réactivité et pour la communauté francophone 👍 Dommage qu'il s'agisse d'un problème de communication entre développeurs. |
I understand, but just remember that translators are not developers. Documentation like this is often hard to understand to translators, and many open source projects communicate more easily with translators to solve this issue. All you have to do is display the list of changes with each new version (a diff thing), and notify when there are breaking changes. Since we rely only on the flarum/lang-english GitHub repository, and it doesn't include a config.js file, it was impossible for us to see this change. I'm not angry at all, I'm just pointing out that we need to improve communication, because translations are also an important part of the success of a forum software. |
Description
J'ai essayé de mettre à jour mon forum à la version flarum 0.1.0-beta.14.1 en partant de la version 0.1.0-beta.13
Tout s'est bien passé hors l'utilisation du module de traduction pour la langue française. J'ai pu voir qu'il y avait déjà un post sur le forum officiel de Flarum concernant ce problème :
https://discuss.flarum.org/d/615-french-language-pack/241
J'ai pu faire le test et le problème persiste. Je n'ai pas trouvé comment vérifier ma version de Moment.js
Steps to reproduce
Expected behaviour: De voir les poste dans les listes de discutions
Actual behaviour: Chargement infinie des liste de discussion avec comme erreur console TypeError: n[r] is undefined
Configuration
Flarum version: 0.1.0-beta.14.1
French language pack version: 1.8.1
Installed extensions:
The operating system and the web browser you are running on may also help with reproducing the issue, so feel free to tell us :
Testé sur Firefox 82
The text was updated successfully, but these errors were encountered: