WeblateOrg / WeblateOrg/weblate

Add ICU syntax highlighting with XML

Open
#8,150 6 comments 0 reactions 1 assignee Claimed by @KarenKonou View on GitHub
enhancement Waiting for: Implementation
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the issue

In [`icu-message-format` docs](https://docs.weblate.org/en/weblate-4.13.1/user/checks.html#icu-messageformat), there are useful `icu-flags` mentioned, but there is no explanation on how to use it.

I've tried `icu-message-format,icu-flags:xml`

![image](https://user-images.githubusercontent.com/9862581/191976659-7aabf1de-dbc1-4e15-b60c-e32377fe2488.png)

but that didn't seem to work (icu syntax got highlighted, but XML tags didn't):

![image](https://user-images.githubusercontent.com/9862581/191976460-aa43274b-308a-4128-b810-2659425154c2.png)

### I already tried

- [X] I've read and searched [the documentation](https://docs.weblate.org/).
- [X] I've searched for similar issues in this repository.

### Steps to reproduce the behavior

### Expected behavior

_No response_

### Screenshots

_No response_

### Exception traceback

_No response_

### How do you run Weblate?

Docker container

### Weblate versions

4.13.1

### Weblate deploy checks

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.