i18n and server side includes | Community
Skip to main content
New Participant
October 16, 2015
Solved

i18n and server side includes

  • October 16, 2015
  • 1 reply
  • 543 views

Hi,

I am getting a strange error when including i18n inside my Sightly template and trying to retrieve a component included via SSI. 

The error appears only when in the Sightly template I use:

<div class="promo-footer text-center"><strong>${'Hello World' @i18n}</strong></div>

Unfortunately the logs do not seem to output any hints about the error. The only hint I get is in the returned html:

<div class="promo-footer text-center"><strong><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head><title>500 Internal Server Error</title></head> <body> <h1>Internal Server Error</h1> <p>Cannot serve request to /content/myapp/en/_jcr_content/parHeaderPromo/header_promo/mycomp.nocache.html/myapp/global/components/commons/mycomp on this server</p> <hr> <address>ApacheSling/2.3 (jetty/8.1.14.v20131031, Java HotSpot(TM) 64-Bit Server VM 1.8.0_05, Linux 2.6.32-504.8.1.el6.x86_64 amd64)</address> </body> </html>

Do you know any issues related to i18n and server side includes?

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

HI,

What shows /system/console/requests for this request? There should be more details available.

kind regards,
Jörg

1 reply

joerghoh
joerghohAccepted solution
Employee
October 16, 2015

HI,

What shows /system/console/requests for this request? There should be more details available.

kind regards,
Jörg