Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost International

Post Reply
 
Thread Tools
  #1  
Old 12-16-2007, 08:29 PM
Eddie Offline
pp regular
 
Join Date: Dec 2007
Location: Prague, Czech Republic
Posts: 20
Send a message via ICQ to Eddie
Comment form can't be translated

Hi, I noticed, that although much of comment handling can be internationalized, at least comment form can't be (strings like "Add comment", "Save user info" etc.) I wonder why? This is not template specific and most of templates will use it. It wouldn't be very hard to add few variables ...
Reply With Quote
  #2  
Old 12-16-2007, 08:57 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
These are template specific.

templates/simple/comment_template.html
Reply With Quote
  #3  
Old 12-16-2007, 09:08 PM
Eddie Offline
pp regular
 
Join Date: Dec 2007
Location: Prague, Czech Republic
Posts: 20
Send a message via ICQ to Eddie
But why? Every template (which contains comments) have some sort of this. It's strange that one part of comment system can be translated and the other can't.
Reply With Quote
  #4  
Old 12-16-2007, 09:11 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Everything can be translated just not everything is contained within a language file.
Reply With Quote
  #5  
Old 12-16-2007, 09:23 PM
Eddie Offline
pp regular
 
Join Date: Dec 2007
Location: Prague, Czech Republic
Posts: 20
Send a message via ICQ to Eddie
I thought that language file should contain phrases common for all (or most) templates. And comment form is surely *very* common component. I dare to say it is used in all templates.

90% of people use Pixelpost out of the box and do not use customized templates (moreover, there aren't all language versions of all templates).
Reply With Quote
  #6  
Old 12-16-2007, 09:32 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
There is no need for every variable to be within a language file.

The only variables Pixelpost places within the language file(s) are the ones that would require you to edit core pixelpost code if such a file never existed.

So, Pixelpost provides the users with a simple method of localizing the core pixelpost code via a language file and any other translations that are not contained within the core code will be found inside the template files.
Reply With Quote
  #7  
Old 12-17-2007, 06:02 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Eddie, you are right, most people use Pixelpost out of the box but most people using Pixelpost are native English ;-)

To be honest, people using Pixelpost are supposed to do some slight changes within their templates which come as basic examples for a good design and nothing more.
It is not difficult to change some text within a html file, it is not only "Add comment" or "Save user info" but also things like "browse", "about", "home" or "I will eventually put some information about myself or my photography here. For now, please just enjoy the photos."
So all static text blocks are to be changed within the templates and all phrases generated by Pixelpost can be changed within the language files.
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #8  
Old 12-17-2007, 02:54 PM
Eddie Offline
pp regular
 
Join Date: Dec 2007
Location: Prague, Czech Republic
Posts: 20
Send a message via ICQ to Eddie
Quote:
Originally Posted by austriaka View Post
Eddie, you are right, most people use Pixelpost out of the box but most people using Pixelpost are native English ;-)
That's hard to prove ...

Quote:
Originally Posted by austriaka View Post
So all static text blocks are to be changed within the templates and all phrases generated by Pixelpost can be changed within the language files.
I understand this attitude, but I'm not sure it's the right way.

Of course, there is possible workaround. If I translate official templates (horizon and simple), would be possible to include them into official release? I looked into sources and there seems to be mechanism to use localized version of template.
Reply With Quote
  #9  
Old 12-17-2007, 04:08 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Quote:
Originally Posted by Eddie View Post
Of course, there is possible workaround. If I translate official templates (horizon and simple), would be possible to include them into official release? I looked into sources and there seems to be mechanism to use localized version of template.
The best would be to post it in Extend section of site as translated template files are not part of main distribution.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #10  
Old 12-17-2007, 04:48 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
I agree with GeoS on this one. Translated templates are not part of the distribution. As for the decision to use default English, this is because the main language on the internet is English.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:49 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs