You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1.1 KiB

This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ before writing any code. Heed deprecation notices.

Translations and Locale Management Rule

  • All translation files must be located in src/translations/ (NOT src/i18n/).
  • Inside src/translations/locales/, there are NO subdirectories. Each language has a single, flat key-value JSON file (ar.json, az.json, bn.json, zh.json, da.json, de.json, en.json, es.json, fa.json, fr.json, gu.json, ha.json, he.json, hi.json, id.json, ks.json, pt.json, ru.json, sw.json, tg.json, tr.json, ul.json, ur.json, uz.json).
  • Registration form structure data is kept separately in src/data/questions/.
  • CRITICAL AUTOMATION RULE: Whenever any new data, field, component label, key, or text item is added to the project, its default translation string MUST automatically be added to the en.json file (src/translations/locales/en.json) as key-value pairs.