Skip to content

Investigate multi-language descriptions without one request per language #131

Open

Description

@disconsented

Language detection runs lingua on one description per item. Steam lets an author set a different description for each language. A mod with separate English and Chinese descriptions does not show in results when only Chinese is selected, because only the English description is examined.

Interesting-Gas8519 suggested fetching the item with more than one Steam language setting. Done naively, that is one extra request per item per language.

Investigate:

  • Whether a Steam API call tells us which languages have a description, so extra requests are only made for those items.
  • Whether a single call can return more than one localised description.
  • How lingua handles Simplified and Traditional Chinese. It does not tell them apart: Spoken languages pemistahl/lingua-rs#4 (comment)

Thread: https://www.reddit.com/r/RimWorld/comments/1x7rtif/workshop_walker_a_now_even_better_way_to_find_new/ph8m0qu/ and https://www.reddit.com/r/RimWorld/comments/1x7rtif/workshop_walker_a_now_even_better_way_to_find_new/ph9ook2/


Claude (AI) wrote this issue from feedback in the r/RimWorld launch thread: https://www.reddit.com/r/RimWorld/comments/1x7rtif/workshop_walker_a_now_even_better_way_to_find_new/
Check the details before you act on them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions