Loading...
Обучение/Помощь новичкам | Composer | Установка пакета
здоров всем. Кто может помочь с установкой языкового пакета во Flarum? Не нужно говорить что там в консоли нужно выполнить простую команду и т.д. Все это не работает у меня. Заранее спасибо
root@makatanga:~# composer require flarum-lang/russian


Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been updated

Running composer update flarum-lang/russian
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
59 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

Using version ^1.53 for flarum-lang/russian

root@makatanga:~#
проверь, установлен ли пакет
composer show flarum-lang/russian

если стоит, попробуй обнови
composer update flarum-lang/russian

по сути, критических ошибок нет
а ну и нельзя работать в композере под рутом, не советует сам композер
Лара , Во

Изображение

------
89467_20250810160934.png (73.3 Kb)
Скачиваний: 6
всё отлично, пакет установлен
а в чем ошибка заключается?
Лара (10 авг 2025, в 18:35)
всё отлично, пакет установлен
а в чем ошибка заключается?
Ну в том, что нету языка. Я же скрин с админкой приложил 😊 как был English, так больше и не прибавилось
________
посл. ред. 10.08.2025 в 19:07; всего 1 раз(а); by OZZY
OZZY , еще нужно php flarum cache:clear
ssh (10 авг 2025, в 19:12)
OZZY , еще нужно php flarum cache:clear
А точно, забыл про это. Спасибо. Как дома буду - отпишу, сработало ли или нет
OZZY (10 авг 2025, в 15:28)
root@makatanga:~# composer require flarum-lang/russian


Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been updated

Running composer update flarum-lang/russian
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
59 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

Using version ^1.53 for flarum-lang/russian

root@makatanga:~#
Можно через админку ставить, введя имя пакета flarum-lang/russian
OZZY (10 авг 2025, в 15:28)
root@makatanga:~# composer require flarum-lang/russian


Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been updated

Running composer update flarum-lang/russian
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
59 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

Using version ^1.53 for flarum-lang/russian

root@makatanga:~#
И к твоему сведению, через root пакеты не ставят, заведи пользователя и выдай ему ssh Лошпед
Онлайн: 5
Время:
Gen. 0.14
(c) ByMAS.RU 2010-2025