Jump to content

Topic on Extension talk:Semantic Maps

[SM] Geographic Coordinates not working in spanish language

2
213.37.94.35 (talkcontribs)

Hi,

I've setup (several times) a new installation of mediawiki with Semantic Bundle extension in Spanish Language but I am unable to work with geographics coordinates.

With a clean installation I follow these steps:

1. Create a new property called 'TieneCoordenadas' based on Geographic coordinates type. 2. Create a new template 'TestPlace' with a new category 'TestPlaces' 3. Create a new form based on template TestPlace 4. Create a new page based on this form 5. Browse properies for this page shows: has improper value for 'TieneCoordenadas' property

How I fixed it:

- Change Language configuration in LocalSettings.php and to 'en' - Go to special pages, create a new property based on Geographic Coordinates - Create new templates and forms and use this new property - Voila! It works, but I still don't understand why wasn't working before in spanish. is it a bug?

I've worked with Mediawiki only for one week so I don't think I can help looking at source code.

Jeroen De Dauw (talkcontribs)

I'm not sure where the internationalization issue is occurring. If you use directional notation for coordinates (aka using N, E, S & W), you need to provide the localized versions of these letters. Since the last release (0.6.6), you can disable this by putting the below line in your LocalSettings.php file AFTER the inclusion of Maps.

$egMapsInternatDirectionLabels = false;

Let me know if this doesn't solve your problem.

Reply to "[SM] Geographic Coordinates not working in spanish language"