Skip to:
Content
Pages
Categories
Search
Top
Bottom

Creating .MO File

  • Avatar of Scotm
    Scotm
    Participant

    @scotm

    If I am creating a new .mo file to adjust labels in BP and I have named my .po file ‘default.po’ should the command line look like this:

    msgfmt -o default.mo default.po

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of Scotm
    Scotm
    Participant

    @scotm

    Updated – I’ve successfully created a new .mo file to change labels across BP. My question is what to do if I wish to further update that file down the road? Do I delete the existing .mo file and simply execute the new .mo again?

    Works great as advertised!

    Thx

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    @scotm – Just edit the .po (which should still exist, and be human-readable), either in a text-editor or a program like Poedit, and then create a new .mo file.

    Avatar of Scotm
    Scotm
    Participant

    @scotm

    So if I change the ‘Groups’ label throughout my site, will that create issues with plugins created for ‘Groups’? Will the change in terminology cause issues with these plugins?

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    This thread should be moved to the Localization Support Group.

    Jeff, we can’t move forum threads at the moment.

    Avatar of Scotm
    Scotm
    Participant

    @scotm

    Anyone know if this is an issue?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @scotm

    Use PoEdit to customize your .po and you won’t have to worry about command lines and the like.

    Unless you’re using a Mac, in which case I’d suggest staying well away from poEdit.

    Avatar of Scotm
    Scotm
    Participant

    @scotm

    I’m having no trouble with poEdit and have successfully made changes to my .po file to create new .mo file for BuddyPress. What I’d like to know is whether changing the term ‘groups’ throughout my site will affect the use of plugins that specifically call for ‘groups’?

    It depends how the plugin is written. Probably not, though.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.