Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Extracting messages from LimeSurvey for translation

  • roberto_longobardi
  • roberto_longobardi's Avatar Topic Author
  • Offline
  • Platinum Donor
  • Platinum Donor
More
1 year 8 months ago #231200 by roberto_longobardi
Extracting messages from LimeSurvey for translation was created by roberto_longobardi
Please help us help you and fill where relevant:
Your LimeSurvey version: latest 5.x
Own server or LimeSurvey hosting: own server
Survey theme/template: not relevant
==================
Hi,
we are thinking of adding some custom code to the base LimeSurvey software to solve specific integrations with our environment.
I was wondering how, should we add some new messages in twig or php files, to extract such messages into the the .po file in order to translate them in different languages.

I've tried "xgettext", but without any luck.

What is the ordinary process you guys follow to extract messages from the twig and php (and maybe JavaScript) files to produce the main pot file?

Thanks.
Roberto

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose