Versija 0.5.2 – Uzlaboti atbalsta tikai atribūtu


Šī versija radās no dažiem lūgumiem daudzvalodu blogger (jo bi-linguals). Šī versija atļauj liecina oriģinālvalodā par frāzi (izņemot noklusējuma) izmantojot HTML lang atribūts.

Punkts / frāze apzīmēti ar atšķirīgu valodu, nekā sākotnēji varētu atstāt neskartu, ja mērķa valodā ir vienāda valoda apzīmēti, bet tiks tulkots citās valodās (pat noklusējuma valoda – ja šāds atbalsts ir iespējots).

Piemēram, šādu frāzi rakstīts ivritā, un ieskauj ar laiduma ar lang = viņš atribūtu, Ja jūs rīdinga to citā valodā, Jums būs iespēja lasīt to, ka citu valodu (Angļu iekļauts).

Sveiki, Kādā valodā jūs izlasīt šo punktu?

Tagad ir arī iespējams izmantot only_thislanguage klasi, lai atzīmētu noteiktu punktu parādās tikai lasītājiem, kas attiecīgajā valodā. Uzvedības maiņu attiecībā uz šī versija ir tā, ka tagad, tulkot noklusējuma versija konfigurācija iespēja tiks izmantota tikai, kas nav noklus º marķētas punkts (un amati, skatīt zemāk par tēmu plāksteri).

Plāksteris tiks sniegts noklusēto tēmu (nav izlemt, vai mēs gaidīt, līdz versijai 3 WordPress) kas ļaus marķējumu noteiktus riskus sākotnējā valoda, mēs saglabātu jums norīkoto.

Hope you baudīt šo versiju.

, ,

  1. #1 līdz Khirr par Aprīlī 21, 2010 - 10:31 pm

    Sveiki, i’d like to ask you about translation but no in DB, mean translation in caché like iTranslator or Global Translator but in local like transposh, i hope your answer :) , Paldies.

    • #2 līdz Vadīt par Aprīlī 22, 2010 - 9:11 gada

      You can use this plugin with wp-supercache to achieve a similar effect. Is there a special reason to do that?

      • #3 līdz Khirr par Aprīlī 22, 2010 - 8:51 pm

        Jā, when load since cache it is faster than MySQL, tāpēc, for that reason my DB is too big and should be better with cache system (i have a dedicated server and MySQL performance is important), so i’d like to know if is possible do that (not for all pages like supercache, just for translate post), paldies.

        • #4 līdz Vadīt par Aprīlī 22, 2010 - 9:52 pm

          The short answer is no, the longer answer is that you can probably configure supercache to handle just the translated pages, this can be done by changing the htaccess rules that it defines to only handle the pages translated.
          If you start that and hit a brick, I will try to assist. Tomēr, I don’t think this will be done soon in the plugin scope. If you want to implement this, you are welcomed, but I think that this will mostly be a rewrite of features that already exist in wp-supercache.

  2. #5 līdz Luke par Aprīlī 22, 2010 - 4:19 pm

    Sveiki, thank you for keeping updating this graet plugin.

    just 1 suggestion if I may, I would like the possibility of styiling the plugin and keep the modified files ( the widget possibly) in a separate folder ( maybe the theme folder like many other plugins) this way it will not revert the changes we make when we have to update.

    I know I can stile it via css and I’m doing it, but in the widget files there are tags that is necessary to remove if you want to see the unordered list inline and not vertically ordered. (that’s my case)

    Another change was to make the text selectable including it in the tags but lost that too.

    Updating we lose the changes we made and we have to make it every time to keep the aspect we want.

    I know it is maybe a minor issue, thank you anyway for you great work :)

    • #6 līdz Vadīt par Aprīlī 22, 2010 - 9:55 pm

      Hi luke,
      The changeable widgets will come in future releases, you can also include a user styling for the css now, if you want, I can mail you when the feature is ready for testing so you can test and comment before release.

      thanks for the feedback

  3. #7 līdz Luke par Aprīlī 23, 2010 - 8:55 gada

    thank you for your answer ofer, I have some good css skill and that would be much apreciated.

    to answer your question, jā, I ‘d like to help you with testing the feature and sending back my feedback about it if you need.

    I’m waiting for it.

    (and sorry for my bad english :) )

  4. #8 līdz Gundars par Aprīlī 28, 2010 - 6:41 gada

    I’m unable to enable plugin :/

    Brīdinājuma: require_once(core/constants.php) [function.require vienreiz]: neizdevās atvērt plūsmā: No such file or directory in /home/httpd/gkm.lv/wp-content/plugins/transposh-translation-filter-for-wordpress/transposh.php on line 36

    • #9 līdz Gundars par Aprīlī 28, 2010 - 6:52 gada

      Deleted folder from plugin directory, pasted the 0.5.2 directory, activated and I’m back on horse with all the previous settings and translations. Great spraudnis!

  5. #10 līdz Peter Hinson par Aprīlī 28, 2010 - 7:16 gada

    The latest version has a conflict with all versions of wordpress where it causes the sidebars to not to be visible and inactivates other widgets in the wordpress administration interface. I had to deactivate it so my wordpress would work correctly.

    • #11 līdz Vadīt par Aprīlī 28, 2010 - 7:20 gada

      Sveiki,

      We are unaware of such issue, and there are plenty of working installations (including wordpress 3 beta) so a screenshot would be appreciated

      Paldies

  6. #12 līdz hank par Var 14, 2010 - 12:17 pm

    Is there a way to set up a URL Rewrite like fr.test.com/post-name, that means to represent the country code as a subdomain?

    Is it possible to translate the post names within the url?

    test.com/cucumber
    fr.test.com/concombre
    fi.test.com/kurkku
    hu.test.com/uborka

    As I understand the plugin stores the translated pages in the wpdb. Can I influence the time intervals in which the pages are retranslated and re-stored? (could be interesting if the translation engines will be working more accurate in the future)

    Is it possible to say for example: After 50 calls the plugin is taking a new translation or after a year there is a new translation? Wouldt be nice if I could decide this post by post. For instance i wouldt like to set a specific post to -> no more new translation, keep the old translation.

    It is nice to have the possibility to edit the translation in the Frontend, but I would appreciate a easy handling in the backend too. Something like http://wpml.org/wp-content/uploads/2009/11/translation_controls.jpg would be great.

    Thank you for your attention.

    • #13 līdz Vadīt par Var 15, 2010 - 8:53 gada

      Sveiki,

      Regarding the first feature, of the language in the subdomain, we didn’t get to it yet, but nothing prevents us from doing it so I guess it will be in some future version (you are welcomed to contribute).
      Regarding url translation, this is being worked on and will probably be out in a few days.
      Regarding auto translation intervals, atkal, not yet, but is a nice idea and will be added in the future.
      Translation in the backend is another good idea :) will come in time, although this is not a top priority yet as we seek to improve the frontend interface first.

      Thank you for your comments.

      • #14 līdz hank par Var 16, 2010 - 7:43 gada

        Hi there,

        nice to hear about the url translation. Would be great if you could handle the subdomain feature in this release too. Sure i would like to contribute, but i don’t know to much about programming things.

        Do you plan to update http://trac.transposh.org/roadmap ? It is always nice to see development in action. Maybe you should link to your delvelopment zone in your main navigation, because actually it is hard to find for developers and for users that like to give some feedback.

        Kind Regards

  7. #15 līdz dgrut par Var 18, 2010 - 5:45 gada

    I have question, how to add the translation page into sitemap?
    Recently im using XML Sitemap Generator for WordPress By Arne Brachhold.

    • #16 līdz Vadīt par Var 18, 2010 - 11:32 pm

      Please search for earlier posts here regarding a patch

      • #17 līdz dgrut par Var 19, 2010 - 10:39 gada

        Find. tā. How about super cache? are they already patched?
        currently im deactivate supercache.

        • #18 līdz Vadīt par Var 19, 2010 - 4:27 pm

          Supercache needs no patch, the support is built in the plugin.

  8. #19 līdz dgrut par Var 18, 2010 - 11:52 gada

    Fatal error: Cannot redeclare file_get_html() (previously declared in /home/sempajac/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/core/shd/simple_html_dom.php:39) in /home/sempajac/public_html/wp-content/plugins/free-cdn/simple_html_dom.php on line 41

    Its happen when i use Free CDN plugin. Any solution?

    • #20 līdz Vadīt par Var 18, 2010 - 11:32 pm

      Sveiki,

      The solution is simple, either remove the include from our plugin or from the other plugin, I’d assume both plugins will work with the change

      Lai jums veicas.

      • #21 līdz dgrut par Var 19, 2010 - 10:41 gada

        If i remove from transposh, is it trouble for transposh?

        • #22 līdz Vadīt par Var 19, 2010 - 4:28 pm

          If you refer to the “ar Transposh” link. the rules are written quite clearly in the code there and are not very limiting or imposing (so I hope), I’ll only ask you if you would allow anyone to use your work without credit.

          • #23 līdz dgrut par Var 22, 2010 - 8:27 gada

            not the credit link but expression of
            file_get_html() on simple_html_dom.php on line 41
            is it ok?

          • #24 līdz Vadīt par Var 23, 2010 - 11:50 gada

            Jā, sure, you can remove thisbut I am not sure it will solve the problem

  9. #25 līdz Terence par Var 18, 2010 - 7:54 pm

    Any idea when we can expect to see a version that works with WordPress 3? Obviously you’ll be waiting for them to release, but it would sure help if we could run something on, teikt, WP3b2.

    • #26 līdz Vadīt par Var 18, 2010 - 11:31 pm

      Hello tur,
      I have checked up to beta 1, if there are errors with beta 2 I’ll get to it, katrā ziņā – what happened when you tried? any issues?

      • #27 līdz Terence par Var 19, 2010 - 12:49 gada

        Atvainojiet, not good. Before I set up this site on WP and WPMU 2.9.x and BP 1.2.x and everything was translated; the article, the posts, all other content on the page, the plugins text, the menu items, everything. But now WP has changed its structure and menuing system, I fear there are some quite serious issues to be resolved. Take a look at http://virtualcrowds.org/zh/ and you will see how only parts of the page/plugins/menus have been translated. Its a real shame because its a great plugin and does (did) exactly what I wanted it to… 8^(

        • #28 līdz Vadīt par Var 19, 2010 - 1:22 gada

          Sveiki,

          This has nothing to do with transposh, and very little with wordpress, this new theme has a bug which prevents the translation, you can see this if you look at your javascript console.
          Try switching to a different theme, and it will probably improve, I also guess those bugs will go away as they’ll approach rc.

  10. #29 līdz Terence par Var 19, 2010 - 1:51 gada

    Very strange. I changed the theme back to the default BP theme and the result is the same. Only the two previously translated documents (one page and one post), show up in the languages, oh, and one menu item for the About page. I will experiment a little further but, not being a developer, I am not sure what the problem is that I am seeing here.

  11. #30 līdz Terence par Var 19, 2010 - 1:58 gada

    Take a look at this and I think you will see what I mean. http://virtualcrowds.com/zh/ <– (ar, not org). That site is on the same server, running 2.9.2 but exactly the same BP theme and Transposh translates everything.

  12. #31 līdz Terence par Var 19, 2010 - 5:02 gada

    OK, I’ve reverted the site back to WP2.9.2 and using exactly the same theme/plugins you will see that Transposh works exactly as I described. Seems to me that its not the theme but something to do with the way Transposh works (or doesn’t) with WP3.0b2, which of course, by the time we get round to RCs, may well be sorted.

    • #32 līdz Vadīt par Var 19, 2010 - 4:26 pm

      Maybe they changed jQuery version, I’ll check it out more thoroughly soon, please keep us posted on any progress you make :)

      Paldies

(netiks publicēts)