Skip to content

Transifex's tx client seems to have changed behavior for resource naming #88

@jpmckinney

Description

@jpmckinney

Previously, I could use the .tx/config file created by sphinx-intl update-txconfig-resources to upload resources, whose name would match the resource ID, e.g. "tariffs--1_1--codelists", which comes from normalizing the resource's local file path.

Now, in Transifex, for new resources, the resource shows up with a name that corresponds to the basename of the source_file, e.g. codelists.pot.

The earlier behavior can be restored by setting resource_name in the config file (i.e. adding --resource-name to the tx add command in transifex.py).

If this project doesn't want to hardcode resource_name to the resource ID, I would appreciate an opt-in flag for this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions