i’m not sure there’s an easy way to do this without a lot of work for us.
you could always fetch the markdown files from our backend and replicate them in your repo, but you’d probably have to write a script or something to copy them over to the correct locations with your staticpkg build.
also, looks like the static site is fetching the MD files using a query parameter:
https://pxt-ev3-community.github.io/pxt-ev3/beta/docs/tutorials/what-animal-am-i.md?lang=ru
which it probably shouldn’t be doing… could you open an issue on pxt? i can at least modify pxt so that the static site uses a different URL when requesting the localized file. something more like:
https://pxt-ev3-community.github.io/pxt-ev3/beta/docs/_locales/ru/tutorials/what-animal-am-i.md