I have tried to solve translation problem in magento 2.1 how it was shown in thread: Magento2 translating Javascript (KO) template text
Now any page created in magento contains:
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::LANGUAGE,
'latviski_lv_lv',
__DIR__
);<!doctype html>
<html lang="lv-LV">
<head >
<script>
var require = {
"baseUrl":
Of course also functionality in admin panel is not working anymore. I believe there is some mistake in registration.php shown in that sample.
Is there any possibility to unregister my translation or remoove that faulty code? Thanks in advance!