Skip to content

Commit

Permalink
feat: add Korean language (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman authored Dec 26, 2024
1 parent a0a1e20 commit 4766eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/warehouse/vcl/main.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ sub vcl_recv {
# This list should mirror the KNOWN_LOCALES identifier list in https://github.com/pypi/warehouse/blob/main/warehouse/i18n/__init__.py
# Note that the format for tags may be different than those in KNOWN_LOCALES
# reference https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry for correct values.
set req.http.Accept-Language = accept.language_lookup("en:es:fr:ja:pt-BR:uk:el:de:zh-Hans:zh-Hant:ru:he:eo", "en", req.http.Accept-Language);
set req.http.Accept-Language = accept.language_lookup("en:es:fr:ja:pt-BR:uk:el:de:zh-Hans:zh-Hant:ru:he:eo:ko", "en", req.http.Accept-Language);
set req.http.PyPI-Locale = req.http.Accept-Language;

if (!req.http.PyPI-Locale) {
Expand Down

0 comments on commit 4766eb7

Please sign in to comment.