[PATCH 2/2] Determine the lang selected arrow direction at render time