Home › Forums › Legacy Support › Support queries › Translation issues › translation problem
Tagged: modern theme
- This topic has 8 replies, 3 voices, and was last updated 8 years, 11 months ago by karanna.
Viewing 9 posts - 1 through 9 (of 9 total)
-
AuthorPosts
-
November 22, 2015 at 6:15 pm #10052karannaSpectatorHello, i use CodeStyling Localization plugin to translate and i bumped into a problem after i changed the theme from the original one, to Modern Theme: i translated the modern theme with CodeStyling Localization and if i generate the .mo file for wplms_modern textdomain, i loose the vibe textdomain from modern theme, and right there is the translation for the login part of the modern theme. So....right now is like that: either i keep the translation for course module, witch is in wplms_modern textdomain, either i loose that module and i keep the website autentification module translated. Please help. :)) anca bogdanNovember 23, 2015 at 5:49 am #10097MrVibeKeymasterYou'll need to merge the translations. a. Delete the existing translation files in WPLMS Modern theme. b. Create a new translation file in modern theme, Re-Scan the files and merge the parent theme translations. Make sure you've a backup of the translations, Codestyling will automatically suggest you to merge the Parent WPLMS theme translation with the WPLMS Modern theme translation files. Let me know if this does not help.November 26, 2015 at 5:31 pm #10816karannaSpectatorI did what you said and it worked, but in order to work on login translation i had to map again the modern theme, then add again the missing translation and re-sync. Now all is translated except RELATED COURSES (and that's annoying because it shows right on courses description page) and i also couldn't find "I agree to these terms and conditions" to translate (in create a new account page). Thanks for the tip, thow! :)November 26, 2015 at 5:43 pm #10820karannaSpectatorThe login translation is still in english....my bet.....i didn't erase the cache. So...back to square 1. :( I cannot translate the login detalis (in modern theme) and RELATED COURSES because they do not appear on wplms clasic theme and so on... anca bogdanNovember 30, 2015 at 5:48 pm #11490karannaSpectatorSo...can you help? I have a half romanian half english site and it looks weird.... :) thank youDecember 3, 2015 at 2:00 pm #12047Anshuman SahuKeymasterThese texts are in the modern theme .Please edit the language file of the modern theme .Please rescan the file before editing these texts .and then follow the same procedure to translate .December 5, 2015 at 4:18 pm #12397karannaSpectatorI already translated those texts and they do not appear on my site in the traslating language. I rescanned....erase the cache.........bla bla........i have no more solutions. anca bogdanDecember 11, 2015 at 1:57 pm #13487Anshuman SahuKeymasterCan you please share your admin credentials and site url to check the issue at your end . PS : mark reply as private while sharing the credentials .December 11, 2015 at 4:33 pm #13516karannaSpectatorHello, in the mean time i added in modern theme - functions.php these lines and it translated the texts but the login module is not translating this way and also, the EVENTS tab in the courses pages presentation is not translating. This is the code i used: function my_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Related Courses' : $translated_text = __( 'Cursuri Recomandate', 'woocommerce' ); break; case 'ratings' : $translated_text = __( 'evaluari', 'woocommerce' ); break; case 'stars' : $translated_text = __( 'stele', 'woocommerce' ); break; case 'Customer Details' : $translated_text = __( 'Detalii client', 'woocommerce' ); break; case 'Signed up' : $translated_text = __( 'Inscris la', 'woocommerce' ); break; case 'More Reviews' : $translated_text = __( 'Arata mai multe Recenzii', 'woocommerce' ); break; case 'Less Reviews' : $translated_text = __( 'Arata mai putine Recenzii', 'woocommerce' ); break; case 'Show More' : $translated_text = __( 'Arata mai mult', 'woocommerce' ); break; case 'Show Less' : $translated_text = __( 'Arata mai putin', 'woocommerce' ); break; case 'Delete' : $translated_text = __( 'Sterge', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'my_text_strings', 20, 3 ); THESE ARE CREDENTIALS FOR ADMIN: user : anca pass: karanna418548 Thank you very much for your time. :) anca
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)
- The topic ‘translation problem’ is closed to new replies.