masterking32 / flarum-lang-persian

🇮🇷 Persian language for Flarum
https://masterking32.com
MIT License
1 stars 2 forks source link

How to install Persian language pack on Flarum installed on Docker #1

Open mhasgari opened 2 years ago

mhasgari commented 2 years ago

Hi Is it possible to install Persian language pack on Flarum installed on Docker? When I entered its container (mondedie/flarum:stable) on sh and tried to install it, using the Composer utility, I encountered this:

/ # composer require masterking32/flarum-lang-persian:dev-master
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been created
Running composer update masterking32/flarum-lang-persian
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires masterking32/flarum-lang-persian dev-master -> satisfiable by masterking32/flarum-lang-persian[dev-master].
    - masterking32/flarum-lang-persian dev-master requires flarum/core ^0.1.0-beta.14 -> found flarum/core[v0.1.0-beta.14, v0.1.0-beta.14.1, v0.1.0-beta.15, v0.1.0-beta.16] but it does not match your minimum-stability.

Installation failed, deleting ./composer.json.
/ # 
sajaddp commented 2 years ago

@mhasgari مشکل مربوط به وابستگی‌های این پکیج هست که با نسخه های جدید همخوانی نداره.

mhasgari commented 2 years ago

@mhasgari مشکل مربوط به وابستگی‌های این پکیج هست که با نسخه های جدید همخوانی نداره.

ممنون... همان ایام با استفاده از نسخه Crazy-Max موفق به نصب موفق و افزودن بسته زبان فارسی به آن شدم؛

docker exec -ti flarum extension require flarum-lang/persian
docker exec -ti flarum extension require irmmr/flarum-ext-rtl