Jump to content

Recommended Posts

Posted (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!

Could contain: Electronics

Could contain: Page, Text, File

 I maked a raw html widget for the Bugtracker badge edifinitions

works great there and badges overall works pefect but not the status picker

Could contain: Page, Text, File, Webpage

Edited by Chris59
Posted (edited)
4 minutes ago, Nathan Explosion said:

You go to your languages section and create your strings there:

Could contain: File, Webpage, Text

Yes all custom keys is already done but seems its not working add costum phrase in value field for the status

Could contain: Text, Computer Hardware, Electronics, Hardware

Edited by Chris59
Posted
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 

Posted
Matt
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...

Could contain: Page, Text

Could contain: Page, Text

Could contain: Page, Text, File

Posted (edited)
11 minutes ago, Nathan Explosion said:

Didn't see it mentioned so started at the obvious place.

Don't overthink it...

Could contain: Page, Text

Could contain: Page, Text

Could contain: Page, Text, File

Perfect . you maked my day . thanks million 😘🤩  works perfectly 

Edited by Chris59
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...