Fixed inline-directives.
Added tests for directives for translations