Skip to content

[BUG] gettext's MO translation files are reported as Modelica #90

@zed

Description

@zed

Describe the bug
Localization files such as
mkdocs/themes/readthedocs/locales/tr/LC_MESSAGES/messages.mo are reported as Modelica language

https://www.gnu.org/software/gettext/manual/html_node/Files.html

To Reproduce

Take any project that uses gettext for i18n. For example, a project that uses mkdocs to generate its docs:

# curl -LsSf https://astral.sh/uv/install.sh | sh  # install uvx
uvx cookiecutter --no-input https://github.com/fpgmaas/cookiecutter-uv.git  # create project with mkdocs docs
cd example-project && make docs-test  # generate docs including MO translation files

Tech stack analyzer reports Modelica language is used:

npx @specfy/stack-analyser .
jq '..| .languages?.Modelica // empty' output.json

but these are actually gettext's MO translation files:

fd -HI '\.mo$'

Desktop:

npx @specfy/stack-analyser --version
1.8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions