add context processor to determine whether language is RTL or LTR