Skip to content

Commit

Permalink
Update manga_translator.py
Browse files Browse the repository at this point in the history
remove JPN detection as it is not working
  • Loading branch information
popcion authored Dec 25, 2024
1 parent a35122f commit c6b54ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga_translator/manga_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ async def _run_text_translation(self, config: Config, ctx: Context):
new_text_regions = []

# List of languages with specific language detection
special_langs = ['CHS', 'CHT', 'JPN', 'KOR', 'IND', 'UKR', 'RUS', 'THA', 'ARA']
special_langs = ['CHS', 'CHT', 'KOR', 'IND', 'UKR', 'RUS', 'THA', 'ARA']

# Process special language scenarios
if config.translator.target_lang in special_langs:
Expand Down

0 comments on commit c6b54ef

Please sign in to comment.