Skip to content

Commit

Permalink
Merge pull request #72 from NextCafeteria/update/hot_fixes_fallbackLng
Browse files Browse the repository at this point in the history
fix order of fallbackLng
  • Loading branch information
vietanhdev committed Aug 15, 2023
2 parents 44a2492 + 9718ca4 commit ed3423e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/i18n/settings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const fallbackLng = "en";
export const languages = ["cn", fallbackLng, "vi"];
export const languages = [fallbackLng, "vi", "cn"];
export const defaultNS = "common";

export function getOptions(lng = fallbackLng, ns = defaultNS) {
Expand Down

0 comments on commit ed3423e

Please sign in to comment.