Symfony 4.1 (обновлено с 3)
translation:
locales: ["en","pt"]
edit_in_place:
enabled: false
# activator: php_translation.edit_in_place.activator
# config_name: app
configs:
app:
dirs: ["%kernel.project_dir%/templates"]
output_dir: "%kernel.project_dir%/translations"
excluded_names: ["*TestCase.php", "*Test.php"]
excluded_dirs: [cache, data, logs]
Маршрутизация
_translation_webui:
resource: "@TranslationBundle/Resources/config/routing_webui.yml"
prefix: /admin
Получить ошибки на любой странице и любую команду в терминале
Invalid resource provided: "1.2"; Errors: [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 12, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 13, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 20, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 25, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 26, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 31, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 32, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 37, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 42, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 47, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 48, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 49, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 50, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 55, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 60, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 65, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 70, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 75, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 80, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 85, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 91, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 96, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 101, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 107, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 112, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 117, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 122, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 127, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 132, column 0) [ERROR 1845] Element '{urn:jms:translation}reference-file': No matching global element declaration available, but demanded by the strict wildcard. (in /application/public/ - line 137, column 0) [ERROR 1845] Element ...................
https://github.com/php-translation/symfony-bundle