PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 1st, 2010, 11:18 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Germany
Posts: 165
4.0 Language

I must translate all to german language.

Is it correct, that the phrases aren't saved in language files? Only saved in the database?

Where are the pharases located which are imported during the installation?
Mike_K is offline   Reply With Quote
Old March 1st, 2010, 11:33 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
The classifieds is released with all the strings in english. The file is named phrases.php

Here is a short tutorial if you want to make a file to use on your install

Take the default phrases.php

Inside here is the top of the queries

Code:
Content visible to verified customers only.
Now you need to make the new language in the language database and I have included the first phrase as an example of what you want to translate

Any reference to 1 needs to be the new language id. I am using 2 as an example
Code:
Content visible to verified customers only.
The above should show you what needs to be done to make a new phrase file in german. You change the langid to 2 make a new language with an id of 2 and the first translation is the text to translate the second is the original which stays the same.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 1st, 2010, 01:02 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Germany
Posts: 165
Thank you Chuck! But after looking into phrases.php I think it's easier to take the build-in translation system. There I can see immediatly which effect it takes. And also I can see what to be translate (not all phrases are neccessary for the users).

btw: Maybe I am ready with it until Classifieds 5.0 :-) .... is it possible that other users can work with an SQL export file of the translated phrases?
Mike_K is offline   Reply With Quote
Old March 1st, 2010, 01:10 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
any user who is a native speaker of a language can submit translations for review
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 10th, 2010, 01:57 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 23
At least all the texts from the frontend should be translatet i think.

Can you say for example, what must i change in german.php to change "Most Recent · Most Popular · Random" into "Neueste Fotos - Beliebteste - Zufällig"?
vkrm is offline   Reply With Quote
Old March 10th, 2010, 05:47 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
where is this that you talk about?

You translated strings for all phrases.php right?

is this a classifieds question.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 10th, 2010, 08:08 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Germany
Posts: 165
I think he is talking about the Gallery maybe the "most recent additions section"

Code:
Content visible to verified customers only.
This phrase isn't in the language file. I don't also not where it is.
Attached Images
File Type: jpg mostrecent.jpg (64.9 KB, 24 views)
Mike_K is offline   Reply With Quote
Old March 10th, 2010, 08:21 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
pp-inc.php in the display_gallery function. There is a hard coded line that one can change to the language strings which do exist.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 10th, 2010, 09:18 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Germany
Posts: 165
Thank you!
Mike_K is offline   Reply With Quote
Old March 10th, 2010, 12:10 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Your welcome enjoy your day
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Language Anja How Do I? - vBulletin 3.7x / 3.8x 5 December 9th, 2009 08:46 AM
language Haki How Do I? - vBulletin 3.7x / 3.8x 6 August 10th, 2009 04:36 PM
Language jimjam ReviewPost How do I...? 1 August 3rd, 2007 04:07 AM


All times are GMT -5. The time now is 08:18 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0