Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
name: translations description: Add or update frontend translations with Lingui. Use after adding or changing any user-facing frontend string, to extract it, translate it into every supported locale and compile.
Frontend translations (Lingui)
Every new or changed user-facing string is translated into all supported locales in the same change.
Steps
cd frontend
yarn messages:extract --clean # the table shows missing translations per locale
Add a translation to every
.pofile infrontend/src/locales/excepten.po(English is the source):#: src/path/to/component.tsx:123 msgid "Your English String" msgstr "Translated String"Run
yarn messages:extract --cleanagain and confirm 0 missing for each locale.Run
yarn messages:compile.
frontend/scripts/list_untranslated_strings.sh lists anything still untranslated.
Troubleshooting
- Counts look wrong: run extract with
--cleanto drop obsolete entries. - Translation not showing: run
yarn messages:compile. .posyntax errors: check the escaping of quotes.