Problem with a translation string

Home Forums Legacy Support Support queries Translation issues Problem with a translation string

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236894
    Nanocr91
    Participant
    In the file wplms-assignment-es_ES.po   #: includes/assignments_functions.php:349 #, php-format msgctxt "wplms-assignments" msgid "" "You've obtained %s our of %s in Assignment : %s Check Results %s. %s " "Additional Remarks from Instructor %s %s %s" msgstr "" "Ha obtenido %s de %s en la tarea : %s Compruebe Resultados %s. %s " "Comentarios adicionales del profesor %s %s %s" This translation does not apply, it always shows the original.   </div>
    #236950
    logan
    Member

    Hello,

    these strings are coming from wplms theme.


    you need to copy the translations file into a global folder, which is wp-content >> language.

    you need to translate every string from all plugins and theme. translated them one by one. On every update local files will be affected so that you need to put these translated files into global folders. it will prevent string loss from the update.

    here is how you can achieve this.

    Note: in this, I am using my local test setup site language which is "Português do Brasil". you have to select your site language.

    Always sync and save the pot file refer: http://prntscr.com/ng3kbk

    Note: Always copy local .Po | .Mo files into the global folder. it will prevent from translation string loss while updating theme/ plugins.

    How could you do this: https://screencast-o-matic.com/watch/cqfQh6ZllK

    In this video, 

    1. i have checked the site language from wp-admin > settings > general > site language.
    2. then goto wp-admin > loco translate > theme/plugin > theme name / plugin name.
    3. Copy author file to system file.
    4. the author stands for local file and system stands for the global file.
    5. once your done copying. from now you have to translate a string in global (system) file.

    These steps should be followed for all plugins and theme in which you are making any changes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Problem with a translation string’ is closed to new replies.