Re: [Django] #34297: ValueError: invalid token in plural form: EXPRESSION when adding new language

2024-04-05 Thread Django
#34297: ValueError: invalid token in plural form: EXPRESSION when adding new
language
-+-
 Reporter:  Azat |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  4.1
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  gettext, i18n, l10n  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Natalia Bidart):

 Replying to [comment:6 Azat]:
 > To be honest, one important thing you can do before commenting on other
 people's ticket is simply try and check if that is the case. Python not
 displaying enough information but it dose not mean, you saw the whole
 world from that console info.

 While we appreciate your input, and while we understand that you may feel
 frustrated by the response, the sentence above is confrontational. We
 kindly remind you to maintain a respectful and constructive tone in your
 communications. Please follow the [https://www.djangoproject.com/conduct/
 Django Code of Conduct] when commenting on tickets.

 > I ma not sure, from which version Django behaves  like this, but in
 earlier versions, you could actually add a new language yourself, by
 changing proper settings and providing local translation files.

 It has been said that Django does not support the feature you are
 describing (adding new custom language), and that if it has worked before,
 it was by chance. The proper procedure at this stage was completed, which
 is to close this ticket as invalid following the
 [https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
 tickets/#closing-tickets ticket triaging process].

 Everyone is welcomed to seek further help in the
 [https://www.djangoproject.com/community/ user support channels].
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018eae17b986-33845fbc-340e-4eff-9385-44a1f3d03d74-00%40eu-central-1.amazonses.com.


Re: [Django] #34297: ValueError: invalid token in plural form: EXPRESSION when adding new language

2024-04-05 Thread Django
#34297: ValueError: invalid token in plural form: EXPRESSION when adding new
language
-+-
 Reporter:  Azat |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  4.1
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  gettext, i18n, l10n  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Azat):

 Replying to [comment:5 Simon Charette]:
 > I'm not sure how this should be considered a regression given nothing
 points at Django being misconfigured here.
 >
 > Until someone can pinpoint how Django might be to blame and what exactly
 the problem is then everything seems to point at a `gettext`/ Python
 problem.

 To be honest, one important thing you can do before commenting on other
 people's ticket is simply try and check if that is the case. Python not
 displaying enough information but it dose not mean, you saw the whole
 world from that console info.

 The problem I mentioned 14 months ago, has been resolved by "Adding the
 language to django officially". That was the solution, yes, except your
 language is being added to the django source code, the problem above
 occurs when you try to add a new one yourself.

 I ma not sure, from which version Django behaves  like this, but in
 earlier versions, you could actually add a new language yourself, by
 changing proper settings and providing local translation files.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018eacebea2c-b9949892-d890-48ba-be0c-98e4cfda58d0-00%40eu-central-1.amazonses.com.


Re: [Django] #34297: ValueError: invalid token in plural form: EXPRESSION when adding new language

2024-04-04 Thread Django
#34297: ValueError: invalid token in plural form: EXPRESSION when adding new
language
-+-
 Reporter:  Azat |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  4.1
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  gettext, i18n, l10n  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Simon Charette):

 I'm not sure how this should be considered a regression given nothing
 points at Django being misconfigured here.

 Until someone can pinpoint how Django might be to blame and what exactly
 the problem is then everything seems to point at a `gettext`/ Python
 problem.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ea9afff1e-7d0f4a2f-32f4-4e3e-a60b-a3a59e2e71f2-00%40eu-central-1.amazonses.com.


Re: [Django] #34297: ValueError: invalid token in plural form: EXPRESSION when adding new language

2024-04-03 Thread Django
#34297: ValueError: invalid token in plural form: EXPRESSION when adding new
language
-+-
 Reporter:  Azat |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  4.1
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  gettext, i18n, l10n  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Barney Szabolcs):

 I used to be able to add any unsupported language to Django (so and yue)
 (and I even deployed to prod yesterday), now I can't even run
 makemessages, and runserver does not start, with the exact same message.
 Probably it is because gettext got updated on homebrew and it does
 something differently.

 I think we should still be able to add unsupported languages without any
 hustle, like we used to do. (I just had to add the language to locale
 directory and I didn't even have to change settings.py). I know, for a
 proper bug I should be able to pin down the exact version numbers, but it
 seems to be wrong since django 3, and I was just lucky to have been using
 the right version of gettext.路
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ea61ad6f0-d16b29f3-a3b7-4aa8-a106-4771341133b0-00%40eu-central-1.amazonses.com.


Re: [Django] #34297: ValueError: invalid token in plural form: EXPRESSION when adding new language (was: raise ValueError('invalid token in plural form: %s' % value) , ValueError: invalid token in plu

2023-01-27 Thread Django
#34297: ValueError: invalid token in plural form: EXPRESSION when adding new
language
-+-
 Reporter:  Azat |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  4.1
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  gettext, i18n, l10n  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070185f29e86e9-0a7c4503-cf73-4846-ba47-7dff55dcde1a-00%40eu-central-1.amazonses.com.