Please enable JavaScript to view this site.

The manual for the JobRouter developer

You can also use your own widgets in several languages by defining your translations in additional language files. The defined language constants can then be used in the widget class and are displayed automatically in the language of the user.

Please note: When using the same name space in the language file as in the widget class, name collisions with constants from other widgets can be avoided.

<?php

namespace dashboard\MyWidgets\ActiveUsers;

 

const CONST_MY_WIDGETS_ACTIVE_USERS = 'Active Users';