Jump to content

Translate of page title in Settings?

Featured Replies

Posted

I notice that the built in options for Settings seem to be able to translate what shows on the Settings page and also what shows as the section header when you go into a particular settings page.  Can a standard plugin do this - if so how?

 

When a plugin creates its own .page file, it can have all the necessary translations for that page, including the title of that page.

 

You need to create a translation file with the appropriate name to get translations automatically included.

 

For example the URL for the File Integrity settings is http://tower/Settings/FileIntegrity

Then the file fileintegrity.txt holds the translations of that page.

 

A number of plugins do this already, you might want to look at these.

Of course plugins themselves must be written to support translations.

There is a guideline document, but can't find it at the moment.

 

 

 

  • Author

My plugin is already multi-language support compatible so I’ve already tried putting the title into the translation file but the title does not seem to get translated which is why I was asking.    I have all the prompts, etc on the page being translated correctly - just not managed to get it for the title.

The title on the settings page is set in the translation of settings, this is not included in the plugin.

The title of the plugin page can be translated by the plugin.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...