PHP Link Directory
 

Go Back   PHP Link Directory Forum > International Discussions > Language Related Discussion

Language Related Discussion This forum is specifically for topic about using different language with phpLD Products.

Reply
 
topic widgets
Old 08-11-2009   #1
naredi
Licensed
 
Join Date: Jun 2008
Posts: 11
Default Translation problems (editing language)

Hi,

I have some problems with editing language in phpLD 3.4. The language is Swedish and I have the file sv.php in the language folder. In config.php language is set to "sv".

In step 1 I got this problem
When I go into System -> Language editor and editor and edit the swedish language it's saved in the sv.php. But the changes was not shown on site. In the templates there is {l}{/l} so it's nothing wrong there. I have tried this without change:
* Edit directly in sv.php.
*Clean the cache under Cache in admin.
*I have tried the page on different computers.

So the problem belongs to the script.

Step 2
Then I found /temp/templates/ folder and tried to clean it. Then some of the words worked fine and some not. When I made updates in the language editor, and cleaned the folder again, the language (on site) changed back to english for a couple of words. In the language editor the same word are added at the bottom of the swedish list (in english).

When I now look at the language compared to each other (Swedish and English) there are swedish words without any english translation (
.:: ... ::.
). These words are the same as I newly translated into swedish. I think the problem is here somewhere but since I don't know how the /temp/templates/-cache work I cant move any further.

Does any one got any solution for this?

Thanks,
Jakob
naredi is offline   Reply With Quote
Old 08-11-2009   #2
James
:)
phpLD Support
phpLD Administrator
Licensed
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: St. Peter's, NS , Canada
Posts: 32,803
Default

My advice is to download both the sv and the en php files to your computer.

open both in a text editor and make the changes there.
Remember that the hashes must match

the hash is the md5 sum of the english word/phrase
__________________
Ask me how you can get phpLD for free
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is a paid product.
You will have to list it before ANY questions are answered.

PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 08-19-2009   #3
naredi
Licensed
 
Join Date: Jun 2008
Posts: 11
Default

Now I tried to download the sv.php and en.php and there are still problems.

This line I have in en.php:
'0630d9cf52c1392cb5c56fad8356563d' => 'Regular links with reciprocal',
This line I have in sv.php:
'0630d9cf52c1392cb5c56fad8356563d' => 'Framhävd länk med tillbakalänk',
The message shown on site is: Regular links with reciprocal

Is there any cache or temp files that should be cleaned after uploading the language files?

When editing in offline I also got problems with the some coding of special chars. Isn't the coding format UTF-8?
naredi is offline   Reply With Quote
Old 08-19-2009   #4
James
:)
phpLD Support
phpLD Administrator
Licensed
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: St. Peter's, NS , Canada
Posts: 32,803
Default

should be lok in your submit.tpl and make sure that the text

Regular links with reciprocal

has l tags around it.
__________________
Ask me how you can get phpLD for free
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is a paid product.
You will have to list it before ANY questions are answered.

PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 08-20-2009   #5
naredi
Licensed
 
Join Date: Jun 2008
Posts: 11
Default

Yes in submit.tpl the line is:
{l}Regular links with reciprocal{/l}
naredi is offline   Reply With Quote
Old 08-20-2009   #6
James
:)
phpLD Support
phpLD Administrator
Licensed
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: St. Peter's, NS , Canada
Posts: 32,803
Default

hmmm can you turn the options back on and grant me ftp and admin access??
__________________
Ask me how you can get phpLD for free
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is a paid product.
You will have to list it before ANY questions are answered.

PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 08-20-2009   #7
naredi
Licensed
 
Join Date: Jun 2008
Posts: 11
Default

You now got a PM.

Thanks,
Jakob
naredi is offline   Reply With Quote
Old 08-21-2009   #8
naredi
Licensed
 
Join Date: Jun 2008
Posts: 11
Default

Now I found a solution for the problem.

What I did is:
1. Editing the language as normal in admin.
2. Downloading the affected .tpl-file with ftp.
3. Uploading the affected .tpl-file with ftp (not doing any changes in the .tpl-file).

I don't have any clue why you have to update the .tpl-file? I think it could be something about the temp-files but that's just a thought.

Hope this could help others with the same problem.

Thanks,
Jakob
naredi is offline   Reply With Quote
Old 10-29-2009   #9
asksugode
 
Join Date: Oct 2009
Posts: 1
Default

The best that go together.
asksugode is offline   Reply With Quote
Old 11-12-2009   #10
rouademunte
 
rouademunte's Avatar
 
Join Date: Nov 2009
Location: Baile Herculane
Posts: 1
Default

Hello,

I have some problems with editing roumanian language.
rouademunte is offline   Reply With Quote
Old 11-12-2009   #11
James
:)
phpLD Support
phpLD Administrator
Licensed
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: St. Peter's, NS , Canada
Posts: 32,803
Default

when you are editing the files what are you using to do it?
__________________
Ask me how you can get phpLD for free
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is a paid product.
You will have to list it before ANY questions are answered.

PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems: translation language file serviweb2006 PHPLD Community 11 08-27-2009 02:29 AM
Language Translation Roumanian Wrong JackDN Language Related Discussion 1 06-30-2009 09:28 PM


All times are GMT +1. The time now is 06:56 AM.


powered by vB