Skip to content

symbolic links not followed during extract #1211

@jmoraleda

Description

@jmoraleda

Problem

Python files that are under symlinked directories are not processed by pybabel.

Expected result

The ** glob pattern in the configuration file instructs pybabel to traverse recursively all sub-directories, including symbolic links.

Am I missing some option in my configuration or command line or is this a bug/missing feature? Thank you.

Background

  • My python project has a complex structure that includes symbolic links to other directories and files.
  • I want to extract a template file for all translation strings in the project including those under directories that are sym-linked.
  • My configuration line includes [python: **.py].
  • I am on Debian Linux.

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