how could i translate these "yes" and "no"? http://img521.imageshack.us/img521/2875/screenshot340.png
also there should be used language tags too: [code] system/views/traq.templates/projectlist.php: <small class="quick_nav"><a href="<?php echo $uri->anchor($project['slug'],'roadmap')?>">Roadmap</a> | <a href="<?php echo $uri->anchor($project['slug'],'tickets')?>">All Tickets</a> | <a href="<?php echo $uri->anchor($project['slug'],'timeline')?>">Timeline</a> <?php ($hook = FishHook::hook('template_projectlist_quick_nav')) ? eval($hook) : false; ?></small> [/code]
also Traq shouldnt read all files in system/locale directory, only "*.php". here is screenshot of Traq reading vim's .swp file: http://img842.imageshack.us/img842/2167/screenshot339.png
I found the problem, for the no yes, admincp/settings.php was missing the proper echo l('yes/no'), on lines 96, 96, 135, 136. Im only attaching the settings.php file [read why =>] I also identified the issue with the header links, it is a little more difficult so i will leave that one up to jack on how he wants to do it, i found two ways of solving the issues. in admincp/common.php the function head(); line 154 i added <?php echo l(strtolower($link['title']))?>, but also had to add a lower case style $lang['wiki'] = 'Wiki'; in enus.php.
of the other method was to keep <?php echo l(strtolower($link['title']))?>. And in system/common.php function l(); line 235, change: str_replace(); to str_ireplace();
optionally changing line 228 to: @if(!isset($lang[$string])) return ucwords($string);@
ok good, and what about Traq reading "" files in system/locale, not ".php"?
oh my, auto-BBcodes changed my *s to bold text. trying to escape...
what about Traq reading â€œ*â€œ files in system/locale, not â€œ*.phpâ€?
This is simple, yet complicated if you are not a developer. The default English yes and no is set in the enus.php file, so in your Russian file you just need to find or add: $lang['yes'] = "Russian translated yes"; $lang['no'] = "Russian translated no";
I'm looking at the enus file and I see yes/no on lines 332/333.