Skip to content

Support nativescript-vue/multiple templates #80

Description

@brunobg

Nativescript vue allow files with multiple templates to target native and web, like this one:

<template web>
  <div class="container">
      <translate>Translate this</translate>
  </div>
</template>
<template native>
  <Page class="page">
      <Label :text="'Translate that' | translate"></Label>
  </Page>
</template>

<script>
export default {
};
</script>

<style>
</style>

gettext-extract does not handle this properly, apparently only dealing with the second section. It'd be nice to support multiple template sections. Is this viable?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions