Support » Plugin: TranslatePress - Translate Multilingual sites » change multiple language names

  • Resolved rik1234

    (@rik1234)


    Hi,
    thanks for the great plugin. I have 2 questions with regards to this help page in your documentation:
    https://translatepress.com/docs/developers/change-language-name/

    1. How do i do this for multiple languages? Do i need to make a separate plugin for each language, or can i combine the code in 1 file (i hope the latter)?

    2. For our site, we actually have different pages for each country, not for each language. Do you have a piece of code (perhaps from a previous customer) that replaces all the language names with country names, preferably in the original language? (would save us a lot of time, if it does not exist yet we will make it and post it here on the forum so others can use it in the future).

    best,
    Rik

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Denis

    (@sdenis)

    Hello,

    My recommendation would be to create a plugin for every language. You could copy the code and create one plugin for 2 languages but this could create issue later on if is not coded properly.

    We do not, Your request would custom code that we cannot provide unfortunately.

    Thanks for your understanding,

    Kind regards,

    hi @sdenis , thanks for the reply. OK clear, I will make the custom code for each country, and post it here, so that future users of TranslatePress can also benefit from it. However, this will be impossible if we create a separate plugin for each language. It must be possible to code multiple languages in 1 plugin: can you help me out by providing the correct code for modifying the names of 2 languages in 1 plugin? Then I will make the effort of posting a plugin here that re-codes all languages to country names!

    hi @sdenis , any update on this? Is it possible to ask the technical team at TranslatePress to provide the correct code for how to rename multiple languages in 1 plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.