Hi,
is there a way to put different content in pdf header based on different language ?
I would like the header translated in each language of the site.
Could it be a solution to create language overrides of a new text, say: "my header"
and then recall it by jtext ?
Would it plugin-parsed if I put this in an article or module and the load it by loadmodule/loadposition into the pdf-header text editor ?
This is a little bit complex to explain, but I hope it's clear
Header translation
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Header translation
Hi, no, there is no such option, I don't know if this can be possible per some external extension like joom!fish is, or another - which creates different instances of the description (in this case header description) but as default there is no option to do for more language.
The idea how to do it simple, can be displaying translation string and langauge feature to the header.
- detect the language
- load it and translate the language string
The idea how to do it simple, can be displaying translation string and langauge feature to the header.
- detect the language
- load it and translate the language string
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Re: Header translation
I use falang,
it can translate everything in Joomla because it adds a system plugin the replaces the content with the translation.
There is a way to create new elements by adding an xml (like a record track) then you will be able to translate any new kind of content.
I don't know about the header or footer of your pdfs...
it can translate everything in Joomla because it adds a system plugin the replaces the content with the translation.
There is a way to create new elements by adding an xml (like a record track) then you will be able to translate any new kind of content.
I don't know about the header or footer of your pdfs...
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Header translation
Hi, they are stored in plugin (content plugin)
plugins/content/plg_phocapdf_content/content.xml
(header_data, footer_data) so if you are able to translate plugins, then there should not be any problem with the plugin
Jan
plugins/content/plg_phocapdf_content/content.xml
(header_data, footer_data) so if you are able to translate plugins, then there should not be any problem with the plugin
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Re: Header translation
Ok thank you, I'll dig in and if find a solution I'll post it here !!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: