Re: django-admin makemessages --no-obsolete doesn't seem to be working
https://www.gnu.org/software/gettext/manual/gettext.html ‘--no-obsolete’ Remove obsolete #~ messages. Le lundi 19 mars 2018 à 14:43:06 UTC+1, Ramiro Morales a écrit : > On Sun, Mar 18, 2018 at 11:18 AM, Kishor Pawar wrote: > >> First of all, I am expecting `--no-obsolete` would comment out `msgid` >> and `msgstr` if `gettext` is deleted, right? >> > > AFAIK there is no (and there wasn't ever) a `--no-obsolete` modifier to > the makemessages command. > > Did you read about that somewhere? Can you post a link? > > -- > Ramiro Morales > @ramiromorales > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ac29783b-24c3-4aee-b2e1-f985f4e199c2n%40googlegroups.com.
Re: django-admin makemessages --no-obsolete doesn't seem to be working
On Sun, Mar 18, 2018 at 11:18 AM, Kishor Pawarwrote: > First of all, I am expecting `--no-obsolete` would comment out `msgid` and > `msgstr` if `gettext` is deleted, right? > AFAIK there is no (and there wasn't ever) a `--no-obsolete` modifier to the makemessages command. Did you read about that somewhere? Can you post a link? -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO7PdF_TzeA3Q6wd8K4PMvSCLiux0KOO4cEwOAo7bm%3D_JfYy2g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: django-admin makemessages --no-obsolete doesn't seem to be working
All my emails never are responded, i'm thinking they not going to discussion list. Someone can reply anything just to let me know. On Sun, 18 Mar 2018 at 19:48 Kishor Pawarwrote: > First of all, I am expecting `--no-obsolete` would comment out `msgid` and > `msgstr` if `gettext` is deleted, right? > > How I am testing is: > > 1. I wrote `gettext("some string here")` in view > 2. I ran `makemessages` command > 3. It wrote a `.po` file as expected > 4. Then I deleted `gettext()` line from view and saved file, verified > `runserver` working. > 5. I ran `makemessages --no-obsolete` and it has not made any changes to > `.po` file. > > `.po` file content extract . > > #. Translators: This message is a test of wrap line > #: servers/views.py:31 > msgid "Do let me know if it works." > msgstr "" -- *Thanks & Regards* *Kishor Pawar* *The Trouble with the world is that Stupids are Full of Confidence and The Intelligent are Full of Doubts.* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKU00M%3DH7CLOot-gxd_ga_hng8-zM%3DX01YupcoWSWFv6EMfcUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
django-admin makemessages --no-obsolete doesn't seem to be working
First of all, I am expecting `--no-obsolete` would comment out `msgid` and `msgstr` if `gettext` is deleted, right? How I am testing is: 1. I wrote `gettext("some string here")` in view 2. I ran `makemessages` command 3. It wrote a `.po` file as expected 4. Then I deleted `gettext()` line from view and saved file, verified `runserver` working. 5. I ran `makemessages --no-obsolete` and it has not made any changes to `.po` file. `.po` file content extract . #. Translators: This message is a test of wrap line #: servers/views.py:31 msgid "Do let me know if it works." msgstr "" -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/D4DF701A-03EB-4CB4-B74E-F5D62505DA8E%40gmail.com. For more options, visit https://groups.google.com/d/optout.