diff --git a/i18n/en.pot b/i18n/en.pot
index f5c1746865..aab5f47678 100644
--- a/i18n/en.pot
+++ b/i18n/en.pot
@@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-"POT-Creation-Date: 2024-12-13T11:35:42.356Z\n"
-"PO-Revision-Date: 2024-12-13T11:35:42.356Z\n"
+"POT-Creation-Date: 2024-12-15T15:25:38.375Z\n"
+"PO-Revision-Date: 2024-12-15T15:25:38.375Z\n"
msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
@@ -107,6 +107,12 @@ msgstr "Lat"
msgid "Long"
msgstr "Long"
+msgid "lat"
+msgstr "lat"
+
+msgid "long"
+msgstr "long"
+
msgid "Show less"
msgstr "Show less"
diff --git a/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js b/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js
index a33f2cc976..c019bdb5fe 100644
--- a/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js
+++ b/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js
@@ -41,8 +41,8 @@ const PolygonCoordinatesPlain = ({ coordinates, classes }: Props) => {
{coordinates.slice(0, showMore ? coordinates.length : 1).map((coordinatePair, index) => (
// eslint-disable-next-line react/no-array-index-key
- {`${i18n('lat')}: ${coordinatePair[1]}`}
- {`${i18n('long')}: ${coordinatePair[0]}`}
+ {`${i18n.t('lat')}: ${coordinatePair[1]}`}
+ {`${i18n.t('long')}: ${coordinatePair[0]}`}
))}
diff --git a/src/core_modules/capture-core/components/Pages/NewRelationship/RegisterTei/open.epics.js b/src/core_modules/capture-core/components/Pages/NewRelationship/RegisterTei/open.epics.js
index cfa4280b97..3244faf794 100644
--- a/src/core_modules/capture-core/components/Pages/NewRelationship/RegisterTei/open.epics.js
+++ b/src/core_modules/capture-core/components/Pages/NewRelationship/RegisterTei/open.epics.js
@@ -30,7 +30,7 @@ function getTrackerProgram(suggestedProgramId: string) {
log.error(
errorCreator('tracker program for id not found')({ suggestedProgramId, error }),
);
- throw Error(i18n('Metadata error. see log for details'));
+ throw Error(i18n.t('Metadata error. see log for details'));
}
return trackerProgram;
}
diff --git a/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/TrackedEntityRelationshipsWrapper/TrackedEntityRelationshipsWrapper.epics.js b/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/TrackedEntityRelationshipsWrapper/TrackedEntityRelationshipsWrapper.epics.js
index 488faf8e6f..c752b65d0a 100644
--- a/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/TrackedEntityRelationshipsWrapper/TrackedEntityRelationshipsWrapper.epics.js
+++ b/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/TrackedEntityRelationshipsWrapper/TrackedEntityRelationshipsWrapper.epics.js
@@ -30,7 +30,7 @@ function getTrackerProgram(suggestedProgramId: string) {
log.error(
errorCreator('tracker program for id not found')({ suggestedProgramId, error }),
);
- throw Error(i18n('Metadata error. see log for details'));
+ throw Error(i18n.t('Metadata error. see log for details'));
}
return trackerProgram;
}