Module talk:Flags/LocaleData: Difference between revisions

Content deleted Content added
 
(2 intermediate revisions by the same user not shown)
Line 8:
I'm thinking that perhaps it would be better to organize the data per countries, following the structure of [[:Category:Country data templates]]. This is how the canonical information is organized now and this is how the maintainers are used to find it. The difference will still be that instead of having to go through hundreds of subtemplates everything will be located in a single file. Although this might have its problems too... We'll see, by now it's fine.--[[User:QuimGil|QuimGil]] ([[User talk:QuimGil|talk]]) 05:36, 9 June 2013 (UTC)
:I have started doing this for Afghanistan. Let's see how it goes.--[[User:QuimGil|QuimGil]] ([[User talk:QuimGil|talk]]) 22:18, 13 June 2013 (UTC)
::It makes definitely sense to organize the data by countries, adding the subdivisions. The only doubt I have is whether to add the 2 & 3 letter codes or leave them in tables apart underneath. All countries have them and this way we save a bit of noise in the upper part of this crowded file.--[[User:QuimGil|QuimGil]] ([[User talk:QuimGil|talk]]) 06:49, 21 June 2013 (UTC)
 
== Separate module for localization ==
 
The more I think the more I believe that this module should be called e.g. FlagsData and be the English file, with no translations, and then have a 4rth module FlagTranslations where each project could add their own translations. This way all projects copying the Template:Flagicon, Module:FlagiconLua and Module:FlagsData would have instantly and always a fully functional and fully compatible English set (good for copying articles from en.wiki with plenti of flag templates). They would only touch these 3 files to sync them with upstream, and they could be well protected. Then the 4th for localization would have only a skeleton with instructions, and there the editors would add all their translations. The access to this module could be a bit more relaxed if needed, and the risk of breaking the core English files by mistake would be minimum.--[[User:QuimGil|QuimGil]] ([[User talk:QuimGil|talk]]) 06:46, 21 June 2013 (UTC)