Hello,
I have a website and I'd like to have country specific content. Exactly the same way languages work but simply countries. I'm currently using localize in i18n but I run into a problem where I have two countries with the same language - uk, us, and austrailia for example.
Anyone have an idea how I can work around this?
Thank you.
Idan
A few questions:
1) Is the content all in English and then just categorized by Country?
2) Do you intend to maintain multiple translations of the content (i.e. UK AND US on the same node)?
If your structure is more for categorization, you might want to consider switching to a taxonomy based structure for this content. Just create a country vocabulary and assign each country as it's own term. I think long term this will give you more flexibility with your content.
If you need to use the i18n structure for this, then you can give each country a country specific code, EN-GB for UK, EN-US for USA, EN-CA, for Canadian English, etc.
You can google 'ISO country codes' for more details on the proper names, but if it's just internal that might not matter too much.
Hope this helps.
TT
On 2009-11-30, at 5:50 AM, Idan Arbel wrote:
Hello,
I have a website and I'd like to have country specific content. Exactly the same way languages work but simply countries. I'm currently using localize in i18n but I run into a problem where I have two countries with the same language – uk, us, and austrailia for example. Anyone have an idea how I can work around this?
Thank you.
Idan
[ Drupal support list | http://lists.drupal.org/ ]
Thanks for the reply,
1. I will have multiple languages
2. I will maintain translations on part of the content and part will be language specific.
3. The problem is how do I import the translation for - Spanish-mexico in addition to having Spanish-spain.
Idan
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Trevor Twining Sent: Monday, November 30, 2009 2:27 PM To: support@drupal.org Subject: Re: [support] Country specific content
A few questions:
1) Is the content all in English and then just categorized by Country?
2) Do you intend to maintain multiple translations of the content (i.e. UK AND US on the same node)?
If your structure is more for categorization, you might want to consider switching to a taxonomy based structure for this content. Just create a country vocabulary and assign each country as it's own term. I think long term this will give you more flexibility with your content.
If you need to use the i18n structure for this, then you can give each country a country specific code, EN-GB for UK, EN-US for USA, EN-CA, for Canadian English, etc.
You can google 'ISO country codes' for more details on the proper names, but if it's just internal that might not matter too much.
Hope this helps.
TT
On 2009-11-30, at 5:50 AM, Idan Arbel wrote:
Hello,
I have a website and I'd like to have country specific content. Exactly the same way languages work but simply countries. I'm currently using localize in i18n but I run into a problem where I have two countries with the same language - uk, us, and austrailia for example.
Anyone have an idea how I can work around this?
Thank you.
Idan
Anyone able to assist me with this? Any directions?
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Idan Arbel Sent: Monday, November 30, 2009 8:01 PM To: support@drupal.org Subject: Re: [support] Country specific content
Thanks for the reply,
1. I will have multiple languages
2. I will maintain translations on part of the content and part will be language specific.
3. The problem is how do I import the translation for - Spanish-mexico in addition to having Spanish-spain.
Idan
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Trevor Twining Sent: Monday, November 30, 2009 2:27 PM To: support@drupal.org Subject: Re: [support] Country specific content
A few questions:
1) Is the content all in English and then just categorized by Country?
2) Do you intend to maintain multiple translations of the content (i.e. UK AND US on the same node)?
If your structure is more for categorization, you might want to consider switching to a taxonomy based structure for this content. Just create a country vocabulary and assign each country as it's own term. I think long term this will give you more flexibility with your content.
If you need to use the i18n structure for this, then you can give each country a country specific code, EN-GB for UK, EN-US for USA, EN-CA, for Canadian English, etc.
You can google 'ISO country codes' for more details on the proper names, but if it's just internal that might not matter too much.
Hope this helps.
TT
On 2009-11-30, at 5:50 AM, Idan Arbel wrote:
Hello,
I have a website and I'd like to have country specific content. Exactly the same way languages work but simply countries. I'm currently using localize in i18n but I run into a problem where I have two countries with the same language - uk, us, and austrailia for example.
Anyone have an idea how I can work around this?
Thank you.
Idan