First time here? Check out the FAQ!
0

Why sometimes translation works and sometimes not?
 

I made two installations of Askbot one remote and one local, same files, same structure, etc... In the remote installation translation seems to work fine now, but in the local one some texts are translated and some not.

I already compiled the messages, etc.

Thanks!

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Miguel's avatar
115
Miguel
asked 13 years ago

Comments

see more comments

1 Answer

1

I solved my issue doing this:

  1. I delete the compiled .mo files (they were compiled in another OS, maybe that was the problem?)

  2. re-compile the translations :)

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Miguel's avatar
115
Miguel
answered 13 years ago
link

Comments

Recompiling should be enough, the files will be automatically overwritten. According to gettext manual, the .mo files may not be portable, but .po are.

Evgeny's avatar Evgeny (13 years ago)
see more comments