Your Time:
Our Time:
← Back to discussions

Translation issues

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 22 replies, 3 voices, and was last updated 9 years, 10 months ago by Anonymous.

  • 2016-09-13 at 6:13 am
    Support Expired
    #16492
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Hi!
    I didn’t find where to translate the “album” and “Artists” words in the music search bar.
    Thanks!

    2016-09-14 at 10:48 am
    #16503
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Those are posttypes. You can’t translate these postypes.

    2016-09-14 at 4:58 pm
    Support Expired
    #16510
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    And there are no labels associated to the postypes?
    If a rename the postypes in the database?

    2016-09-14 at 5:27 pm
    #16515
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    No, you can’t change them in database. If you want to change, you can change it in custom-search.php file line no 125

    $albums_title 	= get_option('atp_album_slug') ? get_option('atp_album_slug'):__('Albums','musicplay');
    $djmix_title 	= get_option('atp_djmix_slug') ? get_option('atp_djmix_slug'):__('Djmix','musicplay');
    $artists_title 	= get_option('atp_artists_slug') ? get_option('atp_artists_slug'):__('Artists','musicplay');
    2016-09-15 at 4:52 am
    Support Expired
    #16522
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Thanks!

    2016-09-15 at 5:35 am
    Support Expired
    #16524
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    There are other words having problem with translation.
    I added my translation in the Localization section, for “Albums Label for”, but it’s still “Albums Label for” displayed. Same for “Albums Genre for”.

    2016-09-16 at 10:30 am
    #16533
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Directly you have to enter your text in the below code like,

    $albums_title 	= get_option('atp_album_slug') ? get_option('atp_album_slug'):__('Your Album Text','musicplay');
    $djmix_title 	= get_option('atp_djmix_slug') ? get_option('atp_djmix_slug'):__('Your Djmix Text','musicplay');
    $artists_title 	= get_option('atp_artists_slug') ? get_option('atp_artists_slug'):__('Your Artists Text','musicplay');

    in custom-search.php file on line no 125

    2016-09-17 at 3:52 am
    Support Expired
    #16556
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    I’m not sure you understand… you say the same line as my first question, but this is another thing. I’m talking about the H1 title displayed. See my attachement.

    2016-09-19 at 10:36 am
    #16568
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Open atp_generator.php file and find for subheader function. Next find for this line of code $title = sprintf( __( 'Albums Label for: %s', 'musicplay' ), '<span>' . $ctitle . '</span>' ); and change your text in place of “Albums Label for”. Otherwise you can use wpml plugin(A string translation plugin) which is available in wordpress repository.

    2016-09-24 at 7:11 pm
    Support Expired
    #16680
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Thanks!

    Another translation request… How can I change the words in the URL, like artist_cat, label…? See screenshot.

    Thanks

    2016-09-26 at 11:10 am
    #16693
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    They are categories. Categories can’t be translated.

    2016-10-06 at 6:01 am
    Support Expired
    #16891
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Hum, that’s unfortunate…
    thanks

    2016-10-06 at 11:58 am
    #16902
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved. If you wish to update this topic please reply here instead of creating another topic.

    2016-10-10 at 6:08 pm
    Support Expired
    #16969
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Hi!
    I see other words that need translation. The author and comments bar in an article, and the word “of” in the pagination. In wich pages I have to change this?

    2016-10-11 at 7:32 pm
    #16980
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    All the translations are string translations which you can translate using the WPML Plugin as it is not recommended to translation the core files. As if we update the theme and release a new version again you will have to translate all the strings. So its better to use WPML for translating the strings. You can get http://www.wpml.org for the plugin

    2016-10-13 at 4:19 am
    Support Expired
    #17011
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    I wont buy 29$US a component to translate 4 words… can’t you just tell me in wich script I could translate this, and I’ll deal with the next template updates?

    2016-10-13 at 10:26 am
    #17013
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    There are so many files to translate the strings. If you know the coding then it will be easy for you to edit the code and translate.

    2016-10-14 at 5:25 am
    Support Expired
    #17059
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Hi!
    I have found a free plugin that do the job, Loco translate.
    It’s working fine!

    2016-10-14 at 10:20 am
    #17064
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Glad to hear that!
    Topic is set to be resolved. If you wish to update this topic please reply here instead of creating another topic.

    2016-11-04 at 5:35 am
    Support Expired
    #17492
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Hi!
    Sorry again, I have a few words that I was not able to translate with the translation tool, but still display in English, like “Search Results”.
    I did not find the word “of” from the pagination at the bottom of a page, and “ago” from your Recent posts extended widget, and Likes in the single album page, in the theme translation files.

    2016-11-04 at 11:03 am
    #17503
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    We have added localization code for “of,likes,search results”. Now you can translate those words using any of your translation plugin. Regarding the word “ago”, the word is coming from some other widget “Recent Posts Extended” which is not related to our theme. Kindly ask with that widget author about the issue.

    2016-11-04 at 4:34 pm
    Support Expired
    #17531
    cameleweb
    Participant
    • Topics: 14
    • Replies: 59
    • Total posts: 73
    • Post count: 61

    Thanks!
    You have added those code where, in my WordPress installation (if yes, I dont see them), or in the next release?

    2016-11-04 at 4:38 pm
    #17532
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    I have added it in your theme coding files.
    Edited files: musicplay/framework/common/pagination.php,
    musicplay/framework/common/postlike.php,
    musicplay/framework/common/atp_generator.php files

You must be logged in to reply to this topic.