Inbox (technical)

Bugs, ideas, questions and suggestions about MangaBaka.

"Extract language" rule defaults to "inherit" for path/ID patterns

opened by erova (admin) 3 weeks, 5 days
Done New feature Website

## The problem

I'm trying to set up URL canonicalization rules to map languages for Webtoon and MangaPlus links. However, the "Extract language" rule fails to match specific URL paths or ID patterns and always defaults to "inherit".

## The idea

Support mapping specific URL paths and ID patterns to assign the correct MangaBaka language code.

**Webtoon (Path):** Map standard paths (e.g., /en/, /es/, /th/). Note that /zh-hant/ needs to map to `zh-Hant-TW`.

**MangaPlus (ID):** - English: titles/1 (100000) - Spanish: titles/2 (200000) - Thai: titles/3 (300000) - Bahasa (IND): titles/4 (400000) - PT-BR: titles/5 (500000) - Russian: titles/6 (600000) - French: titles/7 (700000) - Deutsch: titles/8 (800000) - Viet: titles/10 (1000000)

## Today

There is no workaround. The rule fails to extract the language for these providers and leaving them as "inherit".

## Images

![](attachment:f3cb3ce842e6ee282e79944b7bf71fff)

## Links

- https://mangabaka.org/data/submissions/link-domains/019dbbde-7325-73f1-bb21-ae56524e891c/edit - https://mangabaka.org/data/submissions/link-domains/019dbbd8-281a-7b84-b766-4589a8404530/edit

Closed 15 hours, 36 minutes ago.

Comments

Loading comments...