On Mon, Sep 14, 2009 at 1:54 PM, Paul W. Frields <stickster(a)gmail.com> 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://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/
irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
--
Fedora-websites-list mailing list
Fedora-websites-list(a)redhat.com
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