Batch rename templates/phrases?

Tan Tran

Well-known member
I would like to add a prefix to all templates/phrases of my addon but i don't know how to do that quickly.


Do i have to rename one by one? Please give me a solution.

Thank you.


Well-known member
I think the easiest process would be:
  • Export the addon as xml
  • search & replace for each term using a text editor.
  • re-import.
As you need to patch up references to those templates & phrases, and all in one text document would make it easier.

Note; there is functionality is XenForo which requires the template name have a specific format (ie Alerts).