Skip to content

Base translation file is not found #8

Description

@sadiksha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions