[Xfce-i18n] - No translatable strings of the link on the upper right.

Nick Schermer nick at xfce.org
Thu Apr 19 19:11:51 CEST 2012


On 2012-04-19 18:50, gymka wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 2012.04.19 18:42, gymka rašė:
>> 2012.04.19 18:27, gymka rašė:
>>> 2012.04.19 18:13, Nick Schermer rašė:
>>>> On 2012-04-19 16:53, Chipong Luo wrote:
>>>>> On Thu, 2012-04-19 at 15:42 +0300, gymka wrote:
>>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>>>
>>>>>> 2012.04.19 15:37, Chipong Luo rašė:
>>>>>>> On Thu, 2012-04-19 at 21:29 +0900, Seong-ho Cho wrote:
>>>>>>>> well, you may search using string "#:
>>>>>>>> getinvolved/translation.php:3" for translating
>>>>>>>> "Translation" msgid after downloading po file. Of
>>>>>>>> course, you can use text editor to find that string.
>>>>>>>>
>>>>>>>> anyway, what do you mean about "Bugs" ? maybe ... is
>>>>>>>> "Bug Tracker" right?
>>>>>>>
>>>>>>> On the upper right of every page there are "Home",
>>>>>>> "Docs", "Archive"...
>>>>>>>
>>>>>>> It seems that "Bugs" and "Translate" are missed which
>>>>>>> should be translatable.
>>>>>>>
>>>>>>>
>>>>>>>> 2012/4/19 Chipong Luo <chipong.luo at yahoo.com>:
>>>>>>>>> Hi everyone,
>>>>>>>>>
>>>>>>>>> No "Bugs", "Translate" on the upper right.
>>>>>>
>>>>>> you CAN translate others?(i mean docs, home, archive) you
>>>>>> can't translate only two? in my pot all these is not
>>>>>> translatable.
>>>>>
>>>>> I cannot,either.
>>
>>>> I did this on purpose because the header is used across the
>>>> various subdomain where we don't have the possibility to use
>>>> translated strings.
>>
>>
>>> so add something like:
>>> if($_SERVER['HTTP_HOST']=='www-test.xfce.org') { echo
>>> $translatable_header; } else { echo
>>> $not_translatable_header-just_like_in_all_other_subdomains; }
>>
>> examples from life: 1. http://smplayer.sourceforge.net/ header is
>> translated and everythere is shown translated even forum, feature
>> requests, bug reports, etc. is not translated. 2.
>> http://l10n.gnome.org/teams/lt/ gnome translation site, in
>> Lithuanian page everything is translated, but if press on header
>> links you go to not translated site and header becomes not
>> translated.
>>
>>
>
> not perfect, but working(at least i think so) patch for my thought
> about localized header.

I don't care. Everything is integrated in templates in 4 different 
languages, so I'm not going to spend time in that.

Nick


More information about the Xfce-i18n mailing list