nhoizey’s avatarnhoizey’s Twitter Archive—№ 116,372

    1. …in reply to @eleven_ty
      @eleven_ty 2 main options IMHO: 1. each content is available in both (or more) languages, you can use the same folders hierarchy → /about.en.html 2. you have one main language with all content, but only some of them in other languages, so you don't have the same folders → /en/about.html
  1. …in reply to @nhoizey
    @eleven_ty Actually, I think my answer was mixing source and dist filesystems… 😅 For 1st case, I would like to store same contents in different languages in the same source folder → /about.en.html and /about.fr.html …/…
    1. …in reply to @nhoizey
      @eleven_ty …/… But in the dist folder, I would like a slug based on the page title → /about.html and /a-propos.html /about.en.html and /about.fr.html would allow content negotiation based on Accept-Language, but French people deserve an URL with "a-propos", not "about"…