• andyt1980

    (@andyt1980)


    Hi,
    Is there a way to rename the Admin Menus/CPT from ‘Participants Database’ to just ‘Companies’. And then in the sub-menu change ‘List Participants’ and ‘Add Participant’ to ‘List Companies’ and ‘Add Company’?.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Roland Barker

    (@xnau)

    Yes, you can modify the translation file to change these titles:

    Customizing the Text in Participants Database

    Thread Starter andyt1980

    (@andyt1980)

    Thanks, I actually already had Poedit installed on my computer. The only issue is when I rename the CPT by translating the source text string ‘Participiants Database’ to ‘Companies’ it also renames the plugin name to ‘Companies’ on the WordPress Plugins page. I don’t really want to rename that as it may cause confusion. Is there anyway around this?.

    Plugin Author Roland Barker

    (@xnau)

    Not really, you’re changing the name of the plugin, and that will be reflected wherever it’s used.

    Thread Starter andyt1980

    (@andyt1980)

    I noticed after updating the plugin (or was it a WordPress update) the translated language files stopped working. However, after re-saving the settings in ‘Settings > General’ in the WordPress Dashboard the translated files worked again.

    As per your guide I have my translated files in the /wp-content/languages/participants-database/ directory.

    Any ideas or is this normal behaviour?

    Plugin Author Roland Barker

    (@xnau)

    I’m not sure what went wrong there, and updates don’t generally affect settings, so I can only guess that perhaps there was a caching issue, and that saving the settings cleared the cache.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Rename CPT’ is closed to new replies.