SOLVED - Language change in dropdown and selection

More
4 years 7 months ago - 4 years 7 months ago #106503 by Gordon55M
Gordon55M created the topic: SOLVED - Language change in dropdown and selection
SOLVED - I was editing the files in the wrong place. The .po and .mo edits worked. I was working from a user folder in ubuntu where another limesurver folder existed, whereas the actual server files resided in var/www directory. That is why my changes never pushed to the front-end.

I have tried to change the language files per the manual (.po and .mo). The issue I am having is removing the text (Mexico) or "mexicano" from all selections in the application. I have edited the es-MX language file using PoEdit. Does that text get populated via the .mo, or is it hard coded somewhere else? I also tried to edit the en.mo file to remove the text on the site without success.

I also edited the surveytranslator_helper.php file with this code:
// Spanish (Mexico)
        $supportedLanguages['es-MX']['description'] = $clang->gT('Spanish');
        $supportedLanguages['es-MX']['nativedescription'] = 'Español';
        $supportedLanguages['es-MX']['rtl'] = false;
        $supportedLanguages['es-MX']['dateformat'] = 5;
        $supportedLanguages['es-MX']['radixpoint'] = 0;

Attached are screen shots to show where I would like it removed.

Thoughts?
Attachments:
Last Edit: 4 years 7 months ago by Gordon55M.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!