neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 33 forks source link

Improve english mensa API #277

Closed Robert27 closed 1 year ago

Robert27 commented 1 year ago

Often, the English language version of the Mensa API is missing data, such as meal titles. Sometimes even different allergens are listed or missing.

In order to provide the most helpful information available, we should try to adapt our version of the API to handle these errors as best as possible. For example by filling in missing values with the German version, etc.

Screenshot 2023-06-06 at 23 25 38 erman version etc.

BuildmodeOne commented 1 year ago

One possibility would be to host LibreTranslate ourselves, for example, and then translate missing dishes via the German names.

Of course, this can strongly distort the names and should also be provided with a note.

BuildmodeOne commented 1 year ago

I think the best way to incorporate the allergens is to use the German API and map the allergens to English with a hardcoded list or something like that.