Chris59 Posted October 29 Posted October 29 (edited) Maked a bugtracker database and wanted to translate the status fields The html code i have all translated with keys like this --> {{if $formValue}} {{$items=explode(',',$formValue);}} {{foreach $items as $item}} {{if $item=="bugtracker_found"}} <span class='ipsBadge_large ipsBadge ipsBadge--new'>{lang="my_bugtracker_new_bug "}</span> {{elseif $item=="bugtracker_fixed"}} <span class='ipsBadge_large ipsBadge ipsBadge--solved'>{lang="my_bugtracker_solved_bug"}</span> {{elseif $item=="bugtracker_cant_reproduce"}} <span class='ipsBadge_large ipsBadge ipsBadge--featured'>{lang="my_bugtracker_cannotreflect_bug"}</span> {{elseif $item=="bugtracker_in_progress"}} <span class='ipsBadge_large ipsBadge ipsBadge--author'>{lang="my_bugtracker_work_bug"}</span> {{elseif $item=="bugtracker_answer"}} <span class='ipsBadge_large ipsBadge ipsBadge--negative'>{lang="my_bugtracker_waiting_bug"}</span> {{elseif $item=="bugtracker_no_bug"}} <span class='ipsBadge_large ipsBadge ipsBadge--hot'>{lang="my_bugtracker_no_bug"}</span> {{endif}} {{endforeach}} {{endif}} but how to make customs phrases for this ? --> this didnt work , Any help on this would be great thanks! I maked a raw html widget for the Bugtracker badge edifinitions works great there and badges overall works pefect but not the status picker Edited October 29 by Chris59
Nathan Explosion Posted October 29 Posted October 29 You go to your languages section and create your strings there:
Chris59 Posted October 29 Author Posted October 29 (edited) 4 minutes ago, Nathan Explosion said: You go to your languages section and create your strings there: Yes all custom keys is already done but seems its not working add costum phrase in value field for the status Edited October 29 by Chris59
Marco Junior Posted October 29 Posted October 29 @Chris59 Can you share the basis of this report tracker? I'm looking to start developing one but I'm still getting familiar with the page system. Chris59 1
Chris59 Posted October 29 Author Posted October 29 2 minutes ago, Marco Junior said: @Chris59 Can you share the basis of this report tracker? I'm looking to start developing one but I'm still getting familiar with the page system. I can share the database later when the database import bug is fixed . I have Suggest, Bugtracker, Releases, Garage, Sponsor databases can been see here https://eadrifting.se Marco Junior 1
Nathan Explosion Posted October 29 Posted October 29 This post was recognized by Matt! Nathan Explosion was awarded the badge 'Helpful' and 25 points. 14 minutes ago, Chris59 said: Yes all custom keys is already done Didn't see it mentioned so started at the obvious place. 15 minutes ago, Chris59 said: its not working add costum phrase in value field for the status Don't overthink it... Chris59 and Matt 1 1
Chris59 Posted October 29 Author Posted October 29 (edited) 11 minutes ago, Nathan Explosion said: Didn't see it mentioned so started at the obvious place. Don't overthink it... Perfect . you maked my day . thanks million 😘🤩 works perfectly Edited October 29 by Chris59 Matt 1
Recommended Posts