DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • June 24, 2019, 04:35:53 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: 1 2 [3]   Go Down
  Print  
Author Topic: Polish template for Translation Wizard?  (Read 13399 times)
0 Members and 1 Guest are viewing this topic.
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #30 on: January 13, 2006, 03:20:45 AM »

If it is in common.php, the file will be available for every module and every file, that runs. (they all include at least once "common.php")

Logged

Running for more than three years now:
liko
Guest
« Reply #31 on: January 13, 2006, 04:03:00 AM »

Parse error: parse error, unexpected T_VARIABLE in /common.php on line 111
Logged
Nightborn
Guest
« Reply #32 on: January 13, 2006, 07:14:39 AM »

I don't know *where* you added this in common.php
Logged
liko
Guest
« Reply #33 on: January 13, 2006, 08:08:17 AM »

where Should I??Give position plz...
Logged
Nightborn
Guest
« Reply #34 on: January 13, 2006, 09:04:41 AM »

right at the start.
Logged
kickme
Global Moderator
Mod God
*****
Offline Offline

Posts: 1589


Yay for elephants!


View Profile WWW
« Reply #35 on: January 13, 2006, 10:37:30 AM »

Due to the way I copied it, its got some whitespace that could screw it up. This time it doesn't have any.
Code:
function htmlentities_iso88592($string){
$pl_iso = array('ê', 'ó', '±', '¶', '³', '¿', '¼', 'æ', 'ñ', 'Ê', 'Ó', '¡', '¦', '£', '¬', '¯', 'Æ', 'Ñ');
$entitles = get_html_translation_table(HTML_ENTITIES);
$entitles = array_diff($entitles, $pl_iso);
return strtr($string, $entitles);
}
Logged

Waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka
liko
Guest
« Reply #36 on: January 13, 2006, 02:15:25 PM »

After chaging common.php still getting error
PHP Warning: "htmlentities(): charset so-8859-2' not supported, assuming iso-8859-1"

after changing scheme to polih witch charset iso-8859-2. There are still no polish fonts in left panel...
Logged
kickme
Global Moderator
Mod God
*****
Offline Offline

Posts: 1589


Yay for elephants!


View Profile WWW
« Reply #37 on: January 14, 2006, 12:56:49 PM »

Where ever you have htmlentitles, you need to change it to htmlentities_iso88592
Logged

Waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka
Nightborn
Guest
« Reply #38 on: January 14, 2006, 12:59:14 PM »

yes, especially in output.php and commentary.php

and you can reset the scheme in the wizard to the standard one, it won't have an effect on your function, you might have to rewrite all the htmlentities in the wizard (some) with the new name and without the coding strings.
Logged
liko
Guest
« Reply #39 on: January 15, 2006, 02:05:52 AM »

But I dont know every occurence of htmlentities in your wizard...And do u know it? And where are hose files located in?
« Last Edit: January 15, 2006, 02:08:28 AM by liko » Logged
Nightborn
Guest
« Reply #40 on: January 15, 2006, 02:32:38 AM »

uhm,no, basically it's everywhere a translation can be edited and viewed.

try
folder translationwizard/

list.php
known.php
save_single.php
edit_single.php
searchandedit.php
searchandreplace.php
editchecked.php
Logged
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
61 Guests, 1 User
pharis
Home Forums News Downloads Login Register Advanced Search