Jump to content

PHP - Bonus Class Translator


Recommended Posts

M2 Download Center

Download Here ( Internal )

I think someone will be useful, the list of bonuses in two languages as one file. (If anyone wants, I can automatically translate in his language)

 

https://github.com/Alerinos/M2-WWW-Bonus

Example:

use M2\Bonus;

$bonus = new Bonus(Bonus::APPLY_ATT_SPEED); // bonus name or ID
$bonus->lang = 'en';
echo $bonus->translation;
echo $bonus->name;
echo $bonus->id;

I can create scripts / systems in PHP on request.

Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.