> Then is it okay to access page.lang directly from there?

From the layout page? Yes, absolutely!

The issue is tying the components to the page language (in case you want to use the same component, on the same page, but in two different languages).