server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php
changeset 505 9175ea22f1b1
parent 504 4ab820b387da
--- a/server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php	Thu Feb 09 15:05:36 2017 +0100
+++ b/server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php	Thu Feb 09 17:22:58 2017 +0100
@@ -156,6 +156,10 @@
     protected function addProvidedCHODateProperties($targetRes, $res, $outputGraph) {
     }
 
+    // In the case of text, the language info are not added to the providedCHR resource.
+    protected function propertyLanguageMap($targetRes, $prop, $value) {
+    }
+
     protected function mapWebResources($res, $outputGraph) {
         $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res));
         $resUri = CocoonUtils::getCorpusUriFromId($resId);