Params Custom Applications

Hi, I’m creating some packages in Yii3 making the most of the hidev/composer-plug-in, I have a custom parameter file for example:

custom-params.php

<?php
use yii\helpers\Yii;
use Yiisoft\Yii\Bootstrap4\Html;
return [
  	'adminator.sidebar.menu.items' => [
		[
			'label' => Html::tag(
				'span',
				Html::encode(
					Yii::t('Tests', 'Dashboard')
				),
				['class' => 'title']
			),
			'icon' => Html::tag(
				'span',
				Html::tag(
					'i',
					'',
					['class' => 'c-blue-500 ti-home']
				),
				['class' => 'icon-holder']
			),
			'url' => '/',
			'linkOptions' => ['class' => 'sidebar-link'],
			'options' => ['class' => 'nav-item'],
		],
		[
			'label' => Html::tag(
				'span',
				Html::encode(
					Yii::t('Tests', 'Manage Users')
				),
				['class' => 'title']
			),
			'icon' => Html::tag(
				'span',
				Html::tag(
					'i',
					'',
					['class' => 'c-blue-500 ti-user']
				),
				['class' => 'icon-holder']
			),
			'url' => ['/user/admin/index'],
			'linkOptions' => ['class' => 'dropdown-toggle'],
			'options' => ['class' => 'nav-item dropdown'],
		],
	],
];

It would be a good improvement if we separate the translator from the application and make it work independently as a helper