i18ndude tells me no entries for domain "plone"?

5 messages Options
Embed this post
Permalink
datakid

i18ndude tells me no entries for domain "plone"?

Reply Threaded More More options
Print post
Permalink
Hi all,

I'm still getting errors using i18ndude that suggest the domain
doesn't exist, despite that not being the case afaict:


datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$
./i18n/usei18ndude.sh No entries for domain "plone".
Type i18ndude<Enter> to see the help.

datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$ grep -r
domain . | grep -v
svn./skins/ATCountryWidget/country_widgets/country.pt:
i18n:domain="plone">
./skins/ATCountryWidget/country_widgets/multicountry.pt:
i18n:domain="plone">
./skins/ATCountryWidget/country_widgets/area.pt:       i18n:domain="plone">
datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$

then after some more reading I tried the direct line:

datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$ i18ndude
rebuild-pot --pot atcountrywidget.pot --create plone .
No entries for domain "plone".
Type i18ndude<Enter> to see the help.

nor did it work in the actual directory specified..?

I used

easy_install  i18ndude

initially to install, and it is v3.0 using python-2.5

I thought the python version may have been an issue (is it? does
python version matter in this case?)

easy_install-2.4  i18ndude

but still no joy.

Any ideas appreciated.

cheers
L.


--
'A pea can be chopped up and reassembled into the Sun'

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Vincent Fretin

Re: i18ndude tells me no entries for domain "plone"?

Reply Threaded More More options
Print post
Permalink
On Mon, Feb 2, 2009 at 6:59 AM, musicman <[hidden email]> wrote:

> Hi all,
>
> I'm still getting errors using i18ndude that suggest the domain
> doesn't exist, despite that not being the case afaict:
>
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$
> ./i18n/usei18ndude.sh No entries for domain "plone".
> Type i18ndude<Enter> to see the help.
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$ grep -r
> domain . | grep -v
> svn./skins/ATCountryWidget/country_widgets/country.pt:
> i18n:domain="plone">
> ./skins/ATCountryWidget/country_widgets/multicountry.pt:
> i18n:domain="plone">
> ./skins/ATCountryWidget/country_widgets/area.pt:       i18n:domain="plone">
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$
>
> then after some more reading I tried the direct line:
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$ i18ndude
> rebuild-pot --pot atcountrywidget.pot --create plone .
> No entries for domain "plone".
> Type i18ndude<Enter> to see the help.
>
> nor did it work in the actual directory specified..?
>
> I used
>
> easy_install  i18ndude
>
> initially to install, and it is v3.0 using python-2.5
>
> I thought the python version may have been an issue (is it? does
> python version matter in this case?)
>
> easy_install-2.4  i18ndude
>
> but still no joy.
>
> Any ideas appreciated.
>
> cheers
> L.

Hi,

It's strange, I use the same command in my script and it works.
Be sure to have the following namespace in your templates:
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
--
Vincent Fretin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Maurits van Rees-3

Re: i18ndude tells me no entries for domain "plone"?

Reply Threaded More More options
Print post
Permalink
In reply to this post by datakid
musicman, on 2009-02-02:
> Hi all,
>
> I'm still getting errors using i18ndude that suggest the domain
> doesn't exist, despite that not being the case afaict:
>
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$
> ./i18n/usei18ndude.sh No entries for domain "plone".

You are trying to translate this product, right?
http://svn.gocept.com/repos/gocept/ATCountryWidget/trunk

I see that all places where i18n:translate or i18n:attributes are used
are being filled with tal:content or tal:attributes.  For a running
zope process this means that anything that ends up there should be
looked up in the translations.  For i18ndude it means: there is
nothing here yet; let's move on!

Try adding this line somewhere in country.py:

     <option i18n:translate="">Germany</option>

Now run i18ndude and see if Germany ends up in your pot file.

Cheers,

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
macagua

Re: i18ndude tells me no entries for domain "plone"?

Reply Threaded More More options
Print post
Permalink
In reply to this post by datakid
I have this same problem with another Plone products

my i18ndude version is i18ndude-3.0b4-py2.4

2009/2/3 musicman <[hidden email]>:

> Hi all,
>
> I'm still getting errors using i18ndude that suggest the domain
> doesn't exist, despite that not being the case afaict:
>
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$
> ./i18n/usei18ndude.sh No entries for domain "plone".
> Type i18ndude<Enter> to see the help.
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$ grep -r
> domain . | grep -v
> svn./skins/ATCountryWidget/country_widgets/country.pt:
> i18n:domain="plone">
> ./skins/ATCountryWidget/country_widgets/multicountry.pt:
> i18n:domain="plone">
> ./skins/ATCountryWidget/country_widgets/area.pt:       i18n:domain="plone">
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$
>
> then after some more reading I tried the direct line:
>
> datakid@thornbury:~/code/PlumiTrunkProducts/ATCountryWidget$ i18ndude
> rebuild-pot --pot atcountrywidget.pot --create plone .
> No entries for domain "plone".
> Type i18ndude<Enter> to see the help.
>
> nor did it work in the actual directory specified..?
>
> I used
>
> easy_install  i18ndude
>
> initially to install, and it is v3.0 using python-2.5
>
> I thought the python version may have been an issue (is it? does
> python version matter in this case?)
>
> easy_install-2.4  i18ndude
>
> but still no joy.
>
> Any ideas appreciated.
>
> cheers
> L.
>
>
> --
> 'A pea can be chopped up and reassembled into the Sun'
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Plone-i18n mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-i18n
>



--
Atentamente

T.S.U. Leonardo Caballero
E-Mail = leonardocaballero at gmail.com, lcaballero at linuxmail.org

Linux Counter ID =
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=369081
Key fingerprint = 9FD2 DC71 38E7 A1D1 57F5  1D29 04DE 43BC 8A27 424A

/me Corriendo Debian Lenny 5.0 y Canaina GNU/Linux 2.0
/me Cree "El Conocimiento Humano le Pertenece al Mundo"

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Maurits van Rees-3

Re: i18ndude tells me no entries for domain "plone"?

Reply Threaded More More options
Print post
Permalink
Leonardo Caballero, on 2009-02-13:
> I have this same problem with another Plone products
>
> my i18ndude version is i18ndude-3.0b4-py2.4

i18ndude 3.0b4 erroneously ignores *.cpt files, which could be the
problem here; I advise you to update to 3.0.

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n