# Bug: i18n states 'Resource Category', map shows 'Event Category'

**URL:** https://publichappinessmovement.com/t/topic/1610
**Category:** React Js and Meteor
**Tags:** bug, brighter-tomorrow-map, done, reactjs
**Created:** [17 September 2019 18:49 UTC](https://publichappinessmovement.com/t/topic/1610 "2019-09-17T18:49:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [17 September 2019 18:49 UTC](https://publichappinessmovement.com/t/topic/1610/1 "2019-09-17T18:49:49Z")

</div>

This is for the [Brighter Tomorrow Map](https://brightertomorrowmap.com), which is the fl-sleeper branch

The correct title is set in i18n, but the map appears to be loading a different title from somewhere else.

edit: this one is also not displaying correctly

> contact\_info": “Details for accessing the resource”,

 ![image](https://publichappinessmovement.com/uploads/default/original/1X/81e54d36ec9bfe451085b50c296d5d3e409cde80.png)

it should display ‘Resource Category’ to the user

here’s the i18n file: [fl-maps/imports/both/i18n/en/new-event-modal.json at old-fl-sleeper · focallocal/fl-maps · GitHub](https://github.com/focallocal/fl-maps/blob/fl-sleeper/imports/both/i18n/en/new-event-modal.json)

here’s the page it looks to be called from: [fl-maps/imports/client/ui/pages/Home/index.js at master\_withoutDCS · focallocal/fl-maps · GitHub](https://github.com/focallocal/fl-maps/blob/master_withoutDCS/imports/client/ui/pages/Home/index.js)

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [23 October 2019 13:10 UTC](https://publichappinessmovement.com/t/topic/1610/2 "2019-10-23T13:10:31Z")

</div>

This seems to be a wider problem. Some code in brightertomorrowmap is not being called correctly. this task should be updated to review all i18n functions on [btm](https://brightertomorrowmap.com) and check they are being called correctly.

> <https://github.com/focallocal/fl-maps/tree/old-fl-sleeper/imports/both/i18n/en>
>
> //github.com/focallocal/fl-maps/tree/old-fl-sleeper/imports/both/i18n/en

in some instances the live [brightertomorrowmap.com](http://brightertomorrowmap.com) site isn’t calling the correct word defined in i18n

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [12 January 2020 01:15 UTC](https://publichappinessmovement.com/t/topic/1610/3 "2020-01-12T01:15:19Z")

</div>

Update: @tmcnulty is looking at this, it looks as though BTM isn’t compiling correctly. Ask myself or Tom what the status is before beginning this task please.
