![]() |
[How?] Replace default phrase with mod/plugin
Title says it all really...I'm creating a mod but want to replace a default phrase with my own, how can I do this using the mods xml file rather then user having to do it manually from admincp phrase manager?
I tried adding the phrase to my mod: Code:
<phrases> Also what would the uninstall code be if user was to uninstall the mod so phrase would go back to default? |
You shouldn't (and can't, as you've found out) do that. If you need to use a phrase slightly differently - create your own.
Actually, you can do it, but that requires editing the database and rebuilding the language.g\ |
Quote:
please show demo code! |
My meaning of that sentence is about using phrases in your own product - it looks like you're talking about things in default templates. For that, you can add a translation of the phrase.
|
All times are GMT. The time now is 10:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|