Re: how to update content in talk.fedorapeople.org?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, is the other way around, you add variables to the template
and those get added to the *.po files. I believe the en.po is not
used, since the fallback string is the template itself. So you just
need to add them to the template and the translators will take care of
the rest.

On Monday, September 14, 2009, Sijis Aviles <sijis@xxxxxxxxxxxxxxxxx> wrote:
> On Mon, Sep 14, 2009 at 1:54 PM, Paul W. Frields <stickster@xxxxxxxxx> wrote:
>> On Mon, Sep 14, 2009 at 01:44:59PM -0500, Sijis Aviles wrote:
>>> I'm looking at updating the content on talk.fp.o based on these wiki entries
>>> - https://fedoraproject.org/wiki/Infrastructure/Asterisk/Configure_voip_client
>>> - https://fedoraproject.org/wiki/Infrastructure/Asterisk
>>>
>>> How can I add variables for translation (aka, create "${_('Get
>>> Connected!')}" type variables)? What files do i have to modify? What
>>> else needs to be done after those variables are created so that it is
>>> translated by translators?
>>
>> You can use git:
>>
>>  git clone git://http://git.fedorahosted.org/git/fedora-web.git
>>
>> Then go to the appropriate area under data/content/, make changes, and
>> submit a patch here.  Ricky or anyone in #fedora-websites on IRC
>> Freenode should be able to help if you need it or run into trouble!
>>
>> --
>> Paul W. Frields                                http://paul.frields.org/
>>  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
>>  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
>>  http://irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
>>
>> --
>> Fedora-websites-list mailing list
>> Fedora-websites-list@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/fedora-websites-list
>>
>
> Paul,
>
> I'm already there and have the repo cloned. However, i think, if i
> just add the text it wouldn't get translated, unless i add/create
> similar type variables "${_('Frequently-Asked Questions')}" (i'm
> looking at faq.html). I can tell that the variables corresponds with
> the files located in the /po/ directory. Although, i'm not sure what's
> the proper process to include new variables, unless its as easy as
> adding to the /po/en.po file this:
>
> msgid "New Variable"
> msgstr "Translated text in language"
>
> I thought there might have been a template involved in this process.
>
> Sijis
>
> --
> Fedora-websites-list mailing list
> Fedora-websites-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-websites-list
>

-- 
Jorge A Gallegos <kad@xxxxxxxxx>
http://kad.blegh.net

-- 
Fedora-websites-list mailing list
Fedora-websites-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-websites-list

[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux