Skip to content

Use parameters for file format encoding #15801

@nijel

Description

@nijel

Describe the problem

Currently there are several format variants differing in encoding. This unnecessarily expands the list of formats and often confuses users.

Solution brainstorm

As we now have #15416, the encoding should be converted to a parameter defaulting to the most used encoding for each of the file formats. Maybe it's UTF-8 these days for everything, but I'm not sure.

Some formats also support automatic detection. It allows mixed encoding translation files, so it brings a value. On the other side, it has proven to be problematic as the detection can sometimes give bad results (changing over time as the translation file is being changed). So it should probably stay, but not be the default.

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Area: File format supportIssues related to file formats implemented in Weblate.Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions