Extracting messages from LimeSurvey for translation

5 months 1 week ago #231200 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
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?


Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now