Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deleting a translation + output_format yml not working #425

Open
BBLopez opened this issue Dec 9, 2020 · 0 comments
Open

Error deleting a translation + output_format yml not working #425

BBLopez opened this issue Dec 9, 2020 · 0 comments

Comments

@BBLopez
Copy link

BBLopez commented Dec 9, 2020

Hi, I'm trying to use your bundle in Symfony 5 because I need a webUI.

I've tried to config this to work with yml files but that's not working:

    locales: ["ca", "es", "ar"]
    auto_add_missing_translations:
        enabled: true
    edit_in_place:
        enabled: false
    webui:
        enabled: true
    configs:
        app:
            dirs: ["%kernel.project_dir%/templates", "%kernel.project_dir%/src"]
            output_dir: "%kernel.project_dir%/translations"
            excluded_names: ["*TestCase.php", "*Test.php"]
            excluded_dirs: [cache, data, logs]
            whitelist_domains: [explicacions]
            output_format: yml

And when I try to delete the translation after I create it (only existing one in the created xlf file), I get always this error:

Invalid resource provided: "C:\wamp64\www\debat-constituent/translations\explicacions.ca.xlf"; Errors: [ERROR 1871] Element '{urn:oasis:names:tc:xliff:document:2.0}file': Missing child element(s). Expected is one of ( {urn:oasis:names:tc:xliff:document:2.0}skeleton, ##other{urn:oasis:names:tc:xliff:document:2.0}*, {urn:oasis:names:tc:xliff:document:2.0}notes, {urn:oasis:names:tc:xliff:document:2.0}unit, {urn:oasis:names:tc:xliff:document:2.0}group ). (in file:/C:/wamp64/www/debat-constituent/public/ - line 3, column 0)

I hope we can find a solution. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant