doc: update Auto Group by Languages

This commit is contained in:
shenleban tongying 2024-06-18 21:21:05 -04:00
parent 5c9f67b09c
commit 4993aaae5f
No known key found for this signature in database

View file

@ -10,13 +10,11 @@ Additionally, multiple strategies of automatic grouping are provided:
## Auto groups by dictionary language
When group by dictionary language, the language is taken from dictionary's built-in metadata which has been embed when creating dictionary.
For formats like DSL, which has embedded language from / to metadata, GoldenDict will use the dictionary's built-in metadata.
If the language is not present in the dictionary, it will try to detect the language from the dictionary file name.
For other formats, GoldenDict will try to extract languages from the dictionary's name or its file name by finding `{id}-{id}` pair. The `{id}` is 2 or 3 letters ISO 639 codes. For example, if a dictionary named `some name en-zh`, it will be automatically grouped into `en-zh`.
Then use the founded language to create dictionary groups.
Groups created in this method also include a context menu when rich click the group name, in which you can do additional dictionaries grouping by source or target language and combine dictionaries in more large groups.
Groups created in this method also include a context menu when right-click the group name, in which you can do additional dictionaries grouping by source or target language and combine dictionaries in more large groups.
## Auto groups by folders