**Backport:** https://codeberg.org/forgejo/forgejo/pulls/12737 Load the primary language of the repository when it's converted to a API struct. This is simpler than adding `LoadAttributes` to a lot of places. Resolves forgejo/forgejo#12729 Co-authored-by: Gusted <postmaster@gusted.xyz> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12789 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
repo_id