I have installed phoca maps and made a article about the locations of our scoutinggroup. I have my entire site in dutch, backend and frontend. When I check the language in the backend, part of the language strings is translated and another part is not. But when I check the language files, I can find several of the strings that are not translated. In the backend, I do not really care, but there seams to be a similar problem in the frontend. The string to get a route is in english, but there are translated strings available in the ini files.
en-GB ini:
Line 118: FROM ADDRESS=From (address)
Line 108: GET ROUTE=Get Route
nl-NL ini:
Line 109: GET ROUTE=Bereken Route
Line 119: FROM ADDRESS=Vanaf (adres)
Tekst in string:
administrator\com_phocamaps\front\views\map\tmpl\default.php (1 hits)
Line 80:
echo JText::_('From Address').': <input type="text" size="30" id="fromPMAddress'.$id.'" name="pmfrom'.$id.'" value=""/>';
Line 82:
echo ' <input name="pmsubmit'.$id.'" type="submit" value="'.JText::_('Get Route').'" /></form></div>';
See this page for the front end view:
http://waterscoutingjanvangent.nl/index ... n/locaties
It seems to me the literal text from line 80 and 82 is printed instead of the replacements defined in the language files. How can I fix this without directly changing the printed texts in line 80 and 82?
Hard coded text strings?
-
- Phoca Newbie
- Posts: 6
- Joined: 06 Oct 2010, 14:14
- Location: Belgium
- Contact:
-
- Phoca Newbie
- Posts: 6
- Joined: 06 Oct 2010, 14:14
- Location: Belgium
- Contact:
Re: Hard coded text strings?
not much reactions here
Maos anynews on you side ?
Maos anynews on you side ?
-
- Phoca Newbie
- Posts: 5
- Joined: 09 Aug 2010, 14:49
Re: Hard coded text strings?
Nope, unfortunately, I have not found a solution yet. Hope Jan wil react on this.
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Jun 2009, 00:20
Re: Hard coded text strings?
Hi
I have the same issue. Any help please !
thanks
pablobr
I have the same issue. Any help please !
thanks
pablobr
-
- Phoca Newbie
- Posts: 6
- Joined: 06 Oct 2010, 14:14
- Location: Belgium
- Contact:
Re: Hard coded text strings?
Hello
Just posted the soltuion on my blog
http://linxtek._ _.com/2011/01/joo ... rings.html
Hope it helps
Next time : how to make an installable package with the translation file
Just posted the soltuion on my blog
http://linxtek._ _.com/2011/01/joo ... rings.html
Hope it helps
Next time : how to make an installable package with the translation file
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: