I don't know. I don't use poedit. Here's how we have documented how to extract the messages.
https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/i18n.html#extracting-messages-from-code-and-templates --steve On 6/19/21 1:19 AM, Gerhard Schmidt wrote: > Hi Steve, > > I have i18n set up an working but all templates and texts in the code are > interpreted as English by default. > > My problem is that I want to write texts and Templates in German and do the > English translations later. > > Is there a way to say. "Hey extractor, any text you find is German not > English." > > This may be only a tool problem because poedit always complain about editing > the default language when I try to do the English translations. > > Does the gettext system have a default language or is the just poedit being > ignorant. > > Regards > Estartu > > > Am 09.06.21 um 09:24 schrieb Steve Piercy: >> A Pyramid project has no default language, internationalization (i18n), or >> localization (l10n). You may add them and their translations to a project. >> >> https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/i18n.html >> >> Once you establish i18n and i10n in your project, you may set any supported >> language as the default. >> >> --steve >> >> >> On 6/8/21 11:07 PM, Gerhard Schmidt wrote: >>> Hi, >>> >>> I'm developing some web applications form my company using pyramid. Most of >>> the time I develop them in German first and do translations later. >>> >>> This causes me some unnecessary work when starting with translations, >>> because default language is English. So I have to change the German texts >>> to English and move the German to the translation files. >>> >>> It would be much easier to simply define the default language as German and >>> add English translations. As you can guess. German is my main language so I >>> can outsource the translations to English someone and concentrate on the >>> German texts. >>> >>> Is there a way to define that a pyramid project is in German when using >>> i18n. >>> >>> Regard >>> Estartu >>> >>> >> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/54db16e6-d175-6dc6-0269-5705b4ad20be%40gmail.com.
