QuizzesInternationalisation — Concept Check
intermediate
nextjs

Internationalisation — Concept Check

Questions on Internationalisation. A locale segment, a dictionary loaded on the server, and middleware to pick a default. The routing is the easy part; deciding what actually needs translating is not.

7 minutes 7 questions Pass at 70%
Time Limit
7 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

7 questions on Internationalisation — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.Your web app uses server-side i18n with locale segments. A user visits your site without specifying a locale in the URL. What determines the default locale?

    • AThe first available locale in the list
    • BThe 'accept-language' header or a cookie
    • CThe server's default locale
    • DThe user's IP address
  2. 2.In an Indian edtech platform, which content is most likely to remain untranslated?

    • AMarketing copy
    • BForm errors
    • CNavigation labels
    • DTechnical content
  3. 3.A developer is optimizing an app for multiple languages. They decide to use client-side i18n libraries. What is a potential drawback?

    • ASlower server response
    • BLimited language support
    • CIncreased bundle size
    • DComplex routing setup
  4. 4.A developer uses Intl.NumberFormat without specifying a locale. What issue might arise?

    • ANumbers will format in binary
    • BNumbers will not format at all
    • CApplication will crash
    • DServer's default locale may cause mismatches
  5. 5.You are setting up locale routing for a web application. What is the role of middleware in this setup?

    • ALoads all language dictionaries
    • BHandles user authentication
    • CRedirects bare URLs to a default locale
    • DFormats dates and numbers
  6. 6.Which of the following needs to be translated for an internationalized application?

    • AForm labels and buttons
    • BFile paths
    • CSource code comments
    • DDatabase schema
  7. 7.A developer is using server-side i18n. Why might they choose this over client-side i18n?

    • ATo reduce bundle size
    • BTo support fewer languages
    • CTo simplify client-side code
    • DTo increase server load