Welcome to the LimeSurvey Community Forum

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

SOLVED - Language change in dropdown and selection

  • Gordon55M
  • Gordon55M's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago - 9 years 11 months ago #106503 by Gordon55M
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:
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?
Last edit: 9 years 11 months ago by Gordon55M.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose