php-translation / symfony-bundle

Symfony integration for Translations
MIT License
327 stars 93 forks source link

symfony/translation 4.2 #321

Closed grekpg closed 5 years ago

grekpg commented 5 years ago

Hi I use Symfony 4.2, thre is many packages example

 "name": "symfony/twig-bridge",
            "version": "v4.2.10",

it have conflict

 "conflict": {
        ...
                "symfony/translation": "<4.2"
            },

So i cannot install php-translations.

Is possible to allow symfony/translation 4.2 + ?

Problem 1

my composer

 "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "php": "^7.2",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "doctrine/doctrine-migrations-bundle": "^2.0",
        "friendsofsymfony/ckeditor-bundle": "^1.0",
        "friendsofsymfony/comment-bundle": "^2.2",
        "friendsofsymfony/rest-bundle": "^2.5",
        "friendsofsymfony/user-bundle": "^2.1",
        "grekpg/OhGoogleMapFormTypeBundle": "dev-master",
        "helios-ag/fm-elfinder-bundle": "^9.2",
        "ifsnop/mysqldump-php": "^2.7",
        "jms/serializer-bundle": "^2",
        "knplabs/doctrine-behaviors": "^1.5",
        "knplabs/knp-gaufrette-bundle": "^0.5.3",
        "knplabs/knp-menu-bundle": "^2.2",
        "knplabs/knp-paginator-bundle": "^2.8",
        "liip/imagine-bundle": "^2.1",
        "nelmio/api-doc-bundle": "^3.4",
        "nesbot/carbon": "^2.21",
        "omines/datatables-bundle": "^0.3.0",
        "payum/core": "^1.5",
        "payum/offline": "^1.5",
        "payum/paypal-express-checkout-nvp": "^1.5",
        "payum/payum-bundle": "^2.3",
        "php-http/guzzle6-adapter": "^1.1",
        "php-imap/php-imap": "^3.0.16",
        "secit-pl/imap-bundle": "^1.3",
        "sensio/framework-extra-bundle": "^5.2",
        "sg/datatablesbundle": "^1.0",
        "sonata-project/admin-bundle": "^3.48",
        "sonata-project/doctrine-orm-admin-bundle": "^3.9",
        "sonata-project/page-bundle": "^3.11",
        "sonata-project/translation-bundle": "^2.4",
        "sonata-project/user-bundle": "^4.3",
        "stof/doctrine-extensions-bundle": "^1.3",
        "symfony/console": "4.2.*",
        "symfony/dotenv": "4.2.*",
        "symfony/flex": "^1.1",
        "symfony/framework-bundle": "4.2.*",
        "symfony/swiftmailer-bundle": "^3.2",
        "symfony/translation": "^4.0",
        "symfony/webpack-encore-bundle": "^1.6",
        "symfony/webpack-encore-pack": "^1.0",
        "symfony/yaml": "4.2.*",
        "tbbc/money-bundle": "dev-master",
        "white-october/pagerfanta-bundle": "^1.2"
    },
    "require-dev": {
        "symfony/debug-pack": "*",
        "symfony/dotenv": "^4.1",
        "symfony/maker-bundle": "^1.0",
        "symfony/profiler-pack": "*",
        "symfony/test-pack": "^1.0",
        "symfony/web-server-bundle": "^4.1"
    },
XWB commented 5 years ago

This bundle is not yet compatible with Symfony 4.2 (https://github.com/php-translation/symfony-bundle/pull/322).

rogamoore commented 5 years ago

Is it possible to detect the usage of the new ICU format? Maybe the bundle could just throw an exception for now à la "This format is not yet supported."

@grekpg As a workaround you can install the previous version 0.8.1, but be aware of the differences and the not supported ICU format.