codestyling
Forum Replies Created
-
Forum: Plugins
In reply to: Translate Theme 'Kubrick'Sorry link is broken, here is the correct one: Codestyling Localization
Additional Remark: If you use the theme from older WP version directly at WP 3.0 version, it’s more difficult because orginal Kubrick from older WP versions may be partly translated by WP core translation file. So it can be, that some (or all) phrases remain untranslated doing so. This would require a small patch at the Kubrick theme to work as stand alone theme.
Forum: Plugins
In reply to: Translate Theme 'Kubrick'If this is the real translatable kubrick theme it can be done using this plugin Codestyling Localization
If you want a clean solution with load_theme_textdomain you can hook into the filter load_textdomain_mofile and eval your mo file in real time. Can be found also at load_textdomain and allows to modify the file name (and location to load).
$mofile = apply_filters( 'load_textdomain_mofile', $mofile, $domain );Because load_theme_textdomain calls load_textdomain at the end, you could easily find your textdomain as “hybrid” and check where to load the file from.
In my opinion there is no real need to bypass the intended way to load language files.
The Theme is not working the way Themes should load textdomains. So translation will be loaded unexpected and that’s why not recognized by CodeStyling Localization.
Here are the load steps out of the Themes code:/* Load theme textdomain. */ $domain = hybrid_get_textdomain(); $locale = get_locale(); load_textdomain( $domain, locate_template( array( "languages/{$domain}-{$locale}.mo", "{$domain}-{$locale}.mo" ) ) );Each analysis run of Themes expect one of following load methods:
- load_theme_textdomain
- load_child_theme_textdomain
But hybrid is using the generic load method: load_textdomain.
So CodeStyling Localization doesn’t recognize it as translatable.I could support this, but on the other hand side, why the core is able to differenciate loads (core, plugins, themes and child themes) and the Author isn’t using this? I’m not sure to permit generic loads at themes because respect special filters running during load which can’t be intercepted specific anymore by other Authors (plugin as example).
The way the Theme loads textdomains is more like a plugin would do. Domain part for Themes is not supported by my Plugin in any case even if I would make it possible to detect the Theme. So the language file would always (as common for Themes) assumed as example: de_DE.mo and not hybrid-de_DE.mo
So I’m sorry that this Theme won’t be detected but currently I can’t make it work. This could be subject of next major version 2.x still in progress beside support of 1.x versions.Version 1.97 maintenance release works now with Opera 10.60 version.
Additionally has been tested with Google Chrome and work now too.I played arround with Opera 10.60 and it turns out, that Opera removes ID’s of table rows, if added by prototype.js dynamically!
There is no known reason and other browsers like Firefox or IE work as expected. I will see, if there can be done something to work arround this Opera Browser Bug.
In mean time just use another browser like Firefox, IE or Safari.Could you please specifiy the browser you are using?
Google Chrome may have known problems just try another browser.
Assume you have WP 3.0, right ?Forum: Plugins
In reply to: [Plugin: Codestyling Localization] Translation of themes defect?Currently WP 3.0 will not be identified as MU version even if it is one.
This is caused by the fact, that the global MU version identifier not longer exists as it does for former MU version.
That’s why the plugin not longer shows mu-plugins as valid translation source. This will be repaired soon with the next version (probaly with 1.97)Forum: Plugins
In reply to: [Plugin: Page Columnist] column default spacing keeps resetting to 0%Could you please describe it more specific, what went wrong?
Single Pages should work as known, but if you use the feature at overview pages (more than one post/page) this has got a new one option can be switched between same display as single page would do or always displays complete at overview pages.
May be this will explain your strange issues ?Forum: Plugins
In reply to: Right-to-Left Support in “page-columnist”Has been solved with version 1.7.0
Forum: Plugins
In reply to: [Plugin: Page Columnist] column default spacing keeps resetting to 0%Has been solved with version 1.7.0
Forum: Plugins
In reply to: [Plugin: Codestyling Localization] Translation of themes defect?Hi all,
the problem has been repaired and the bugfix has been published with version 1.94 now.
The reason of this problem is a behavior change at WordPress internal core because the management of theme files has been changed signific! Formally in WP versions below 2.9 the theme management stores the theme related files with relative path names (relative to wp-content dir). But with version WP 2.9 the files will be internally collected and stored with the full qualified path. That’s why the theme analysis didn’t work any longer. The patch now works with older and also new WP 2.9 version.Thanks and have fun
Forum: Fixing WordPress
In reply to: Annoying popup – new to 2.8?Could you explain, why you are working with GreaseMonkey enabled at WordPress backend? It can be configured to exclude a certain domain and/or path.
Forum: Fixing WordPress
In reply to: Weirdest problem ever (in my opinion)Please contact the author, this seems to be a theme issue.
Furthermore view this theme in widescreen flats >= 1680px width, then header and footer are centered well but content part is out of order and more close to left side.Forum: Fixing WordPress
In reply to: How to remove X-Pingback: http://www.example.com/xmlrpc.phpJust place this filter into your themes functions.php an it gets removed:
function remove_x_pingback($headers) { unset($headers['X-Pingback']); return $headers; } add_filter('wp_headers', 'remove_x_pingback');