Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scheduler Reports
#11
Hi
What variable define scheduled report language?

My admin is setting to pt_br, my user in pt_br, too, but when report is sent with a scheduled, all report labels and email text in showed to english.
Ranieri
eCRM Web
Reply
#12
labels added

(01-16-2018, 11:49 PM)rslemer Wrote: I will testing more, but I think other link, included in workflow, for example, with a CRM details, is different.

I think, when workflow included a CRM details ( link in email ) system redirect thru final screen, in all the times.

I am wrong both links is the same way ...

include pt_br


Attached Files
.php   pt_br.lang.php (Size: 14.64 KB / Downloads: 1)
.php   include pt_br.lang.php (Size: 57.51 KB / Downloads: 1)
Ranieri
eCRM Web
Reply
#13
From these lines I understand that the scheduled report is sent in the $default_language

https://github.com/tsolucio/corebos/blob/master/vtigercron.php#L16
https://github.com/tsolucio/corebos/blob/master/vtigercron.php#L36
https://github.com/tsolucio/corebos/blob/master/modules/Reports/ScheduledReports.php#L386

it is either that language or the language of some admin user.

I updated the Reports language file mostly using the labels that were already there. I did not update the include file because that label is already present:

https://github.com/tsolucio/corebos/blob/master/include/language/pt_br.lang.php#L675
Joe
TSolucio
Reply
#14
I just tested it and it seems to be working correctly. I made a modification to translate the report name and description but that will rarely be used.
Joe
TSolucio
Reply
#15
you say scheduled reports is a rarely used?

my users love it !
Ranieri
eCRM Web
Reply
#16
No, I meant that the translation of the report name and description won't be used much as you would have to edit the language files for each report and usually they are already in the language of the users.

The scheduled reports themselves are VERY useful and popular :-)
Joe
TSolucio
Reply
#17
Ah, ok!

I did test this changes, labels are translate right, but text at  email and label "click here" not yet.


Attached Files Image(s)
   
Ranieri
eCRM Web
Reply
#18
It is working correctly for me. I set the admin user language and the default_language variable in config.inc.php to pt_bt

   
Joe
TSolucio
Reply
#19
Stranger,

I think some items you can solved return to same problem in report module

I try edit sales pipeline in demo on line,  for example grouping and sharing not returned a BD values, again


Attached Files Image(s)
       
Ranieri
eCRM Web
Reply
#20
How can?

If I down everything by git, how can the version behave differently?

I do not understand this ...
Ranieri
eCRM Web
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)