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

Base translation file is not found #8

Open
sadiksha opened this issue Feb 10, 2017 · 0 comments
Open

Base translation file is not found #8

sadiksha opened this issue Feb 10, 2017 · 0 comments

Comments

@sadiksha
Copy link

Hi,
I am having a problem with this gem. I have a translation file called messages_en.js under folder src/main/resources/static/scripts/internationalization/. So, in my grunt file I have made the following configuration

    angular_translate_compare: {
        options: {
          baseLang: 'src/main/resources/static/scripts/internationalization/messages_en', // the canonical language file to use as a base for comparison. languages determined by file name
          ext: 'js', // the file extensions to load,
          fatal: false, // whether this task should fail a build or not
          parsers: {} // additional parser functions for custom interpolations
        },
      src: 'src/main/resources/scripts/internationalization/messages_de.js' // file collection to use in comparison.  Base language file must be included in the collection
    }

When I run this grunt script, I get an error saying

Running "angular_translate_compare:src" (angular_translate_compare) task
>> Base translation file 'src/main/resources/static/scripts/internationalization/messages_en.js' not found.

But this file exists. Can you please help me with this issue?

Thank you.

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