Skip to content

Do you know how to go about translating this module? #13

@itsgucci

Description

@itsgucci

Your issue may already be reported!
Please search on the issue tracker before creating one.

Expected Behavior

i thought i would create a ~/humhub/protected/config/messages/en-US/UsermapModule.base.php file and add return [ 'Usermap' => 'Global Map' ]; to it and it would change the top nav menu title

Current Behavior

it remains 'Usermap'

Possible Solution

maybe there is some trick to translating? maybe the filename i am trying to use is not correct? i noticed there are no messages folder in the module like there are in most of the hubhub core modules...

Context

i'd like to be able to rename the top nav menu item in english, but then also translate it into other languages as well.

Your Environment

  • Version used: 1.2.4
  • Browser Name and version: chrome
  • Operating System and version (desktop or mobile): mac
  • Link to your project:

Log Output

// Specify the contents of the log file. You should replace personal information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions