Skip to content

Commit

Permalink
[docs] Automatically redirect pt to pt-BR
Browse files Browse the repository at this point in the history
The /pt/ is the most used locale used, it's also the most transalted, almost 100%.
It seems safe to enable auto redirection for this locale.
  • Loading branch information
oliviertassinari committed Apr 28, 2020
1 parent 16bdb64 commit 611a655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function useFirstRender() {
return firstRenderRef.current;
}

acceptLanguage.languages(['en', 'zh']);
acceptLanguage.languages(['en', 'zh', 'pt']);

function loadCrowdin() {
window._jipt = [];
Expand Down

0 comments on commit 611a655

Please sign in to comment.