oferwald
Forum Replies Created
-
Forum: Plugins
In reply to: [Transposh WordPress Translation] translate a whole page not a phraseI agree, a tutorial is a good idea, if anyone does it, I’ll be happy to link to it 🙂
Hi,
I’d guess that’s because Transposh’s default Portuguese is pt_PT (and not pt_BR), so that was the issue.
Your solution was more than ok, and you could have also edited the constants file and changed the locale for similar results.
Marking resolved.
use something like
if (‘en’ == transposh_get_current_language()) {
echo “english”;
}
elseif (‘fr’ == transposh_get_current_language()) {
echo “francais”;
}Good luck
Forum: Plugins
In reply to: [Transposh WordPress Translation] my links to other websites dont workEither:
1. wrap them in no_translate
2. make sure they are not fqdn
3. link to other sites directly, and use the nofollow taggingBest
First, open a thread and don’t use a 5 months closed one,
Second, add &edit=y at the end of your urls.
Good luck
Hi,
Not really, at least not at this point, the (not so great) solution is to make sure this word comes together with other words when it has the second meaning.
In the future we’ll have the interface to merge words into phrases. which will help to fix this issue. But it takes time.
Sure.
See their example (with my modification):
// filter the Gravity Forms button type add_filter("gform_submit_button", "form_submit_button", 10, 2); function form_submit_button($button, $form){ // we create a small array for options $submits = array("es" => "spanish submit", "de" => "german submit"); if (isset($submits[transposh_get_current_language()])) { $submittext = $submits[transposh_get_current_language()]; } else { $submittext = "Submit"; } return "<button class='button' id='gform_submit_button_{$form["id"]}'><span>{$submittext}</span></button>"; } ?>Another option is to change this line to:
return "<button class='button' id='gform_submit_button_{$form["id"]}'><span>".__("Submit")."</span></button>";And work with the .po/.mo integration…
Actually, if build like that, the translation should have worked anyhow 🙂 who knows.
I hope this helps
you use the not_in a lot 🙂
Hello There,
Regarding the full page translation, you can use the shortcodes (as they appear in our development site), this allows you to paste in full page translations.
On the date issue, this is best handled by the .po/.mo integration feature, when date is outputted using a function, it will be properly handled. When it is a part of the text being translated, it might get trickier, changing the parsing rules might be able to improve the case, but I am not sure that it’s the best way to go.
Hi,
Virus was already over by the time I replied, thanks for caring 🙂
Although I would really really (and I do mean it) really like to help with this, I simply can’t now. I am swamped with 300 items to handle in my inbox, some of paying clients 🙂
The form issue should really be simple enough, do you have the gravity .po/.mo files with you? do they have a default SEND button text?
As far as I recall from a short course collision I have had with gravity, they have a very nice set of hooks for handling stuff, and since they are a paid component they do provide good support.
Just tell them you need the hook to change a text button programmaticaly, I will tell you the code you’ll need inside it 🙂
Hi,
I guess they are ranking to a certain extent, and the proof that I have is that by looking at the Google analytics for transposh.org, I can clearly see that the page is found for some non-english strings.
I am not sure, and really don’t know all about how google does its indexing, I am quite sure they haven’t got anything that relates directly to Transposh (being below the radar, I’d guess). Maybe those are issues related to other behaviours of the plugin (such as reducing the sitemap score for translated pages, and adding the rel=alternate for pages).
However, I’ll add that Transposh is written for the webmasters and the users, for having a better multilingual experience, not for SEO purposes.
I hope it answers something.
Forum: Plugins
In reply to: [Transposh WordPress Translation] Doesn't let me edit the home pageHi,
Yes, please look at transposh.php, it contains the transposh object which has an edit_mode variable, this is the one you should change.
You can probably look at places in the code that change this value now, and you’ll see how this is done. I think you can probably add a line next to the existing one with the exception you need for the homepage.
Forum: Plugins
In reply to: [Transposh WordPress Translation] Doesn't let me edit the home pageHi,
Not in the url (doesn’t work, for some unknown reason)
You need to check for it and change the edit mode in the component, if you are not a programmer, I guess it will be a bit harder to do, but I really hope you’ll manage.
Forum: Plugins
In reply to: [Plugin: Transposh] Page not foundCan’t even see my plugin on the site you have linked to, also, seen my note about your own topic? 🙂
Forum: Plugins
In reply to: [Transposh WordPress Translation] Transposh don't work, Help me pleaseNormally, it works correctly, but I can’t help much without any error logs