Skip to content

Messages.po not filled by bash ./i18n.sh #11

@piejanssens

Description

@piejanssens

index.php

<html>
<body>
<h1>_('Hello World')</h1>
</body>
</html>

Structure:

  • index.php
  • locale
    -- en
    --- LC_MESSAGES
    ---- messages.po
    -- nl
    --- LC_MESSAGES
    ---- messages.po
    -- fr
    --- LC_MESSAGES
    ---- messages.po
➜  testlocales ls
composer.json composer.lock index.php     locale        vendor
➜  testlocales cd vendor/delight-im/i18n
➜  i18n bash ./i18n.sh NL                       
Extracting and updating translations
sed: 1: "locale/messages.pot": extra characters at the end of l command

I might be misinterpreting the functionality, but I was expecting 'hello world' to appear in the NL messages.po.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions