-->
Welcome, Guest
Username: Password: Remember me

TOPIC: .ODT Function {__ (XXX) __} does not work

.ODT Function {__ (XXX) __} does not work 1 week 18 hours ago #34550

  • Paji
  • Paji's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 2
  • Karma: 0
In the template .odt I tried to add a translation (for the propal module)
In lang, I added a translation in propal.lang
In the propal template I entered {__ (translation key) __}
What am I doing wrong ?

DOLIBARR ENVIRONMENT
- Version: [7.0.0]
- Operating System: [Linux CentOS 7]
- Web Server: [Apache 2.4.6]
- PHP: [7.0.26]
- Database: [MySQL 5.7.22]
Last Edit: 1 week 18 hours ago by Paji.
The administrator has disabled public write access.

.ODT Function {__ (XXX) __} does not work 1 week 18 hours ago #34551

  • aljawaid
  • aljawaid's Avatar
  • OFFLINE
  • Moderator
  • Trying to make the source open.
  • Posts: 570
  • Thank you received: 78
  • Karma: 9
Hello

Thanks for posting. You have posted your issue in the How to / Help section.

Kindly post (here) your Dolibarr setup environment as suggested in https://www.dolibarr.org/forum/2-this-forum/28209-post-guidelines. This will greatly help the community in assisting you where possible.
The administrator has disabled public write access.

.ODT Function {__ (XXX) __} does not work 6 days 1 hour ago #34565

  • yves57
  • yves57's Avatar
  • OFFLINE
  • Senior
  • Posts: 75
  • Thank you received: 18
  • Karma: 4
Hello,
Did you try with a other translation key in standard lang file?
The administrator has disabled public write access.

.ODT Function {__ (XXX) __} does not work 3 days 10 hours ago #34603

  • Paji
  • Paji's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 2
  • Karma: 0
langs/en_GB/propal.lang here, ta adds a new translation. in the template, enter {__ (XXX) __} instead of xxx - enter the translation key.
In pdf, this option of changing translations by language works. I only have a problem with odt.
The administrator has disabled public write access.
Time to create page: 0.066 seconds