Translation problem - National Flags
Translation problem
This extension is great. Thank you for develop it.
I have an idea to make it more "translatable":
Name of countries are in English and stored in database. We are not able to use different names to different languages which we use in forums.
So, I had to edit names directly in database to translate them to more used language in my forum. I know these names are created based in datas found in file ext/rmcgirr83/nationalflags/migrations/m2_initial_data.php but should be in ext/rmcgirr83/nationalflags/language/en/common.php. In this way, we could translate countries names too.
Maybe in a future update?
I have an idea to make it more "translatable":
Name of countries are in English and stored in database. We are not able to use different names to different languages which we use in forums.
So, I had to edit names directly in database to translate them to more used language in my forum. I know these names are created based in datas found in file ext/rmcgirr83/nationalflags/migrations/m2_initial_data.php but should be in ext/rmcgirr83/nationalflags/language/en/common.php. In this way, we could translate countries names too.
Maybe in a future update?
Sorry for my bad english. I'm from USA.
-
- Registered User
- Posts: 522
- Joined: Wed Jan 20, 2010 11:03 am
Re: Translation problem
And what would happen if a user added a flag?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Translation problem
Is it possible???
May an user add a new flag?
May an user add a new flag?
Sorry for my bad english. I'm from USA.
-
- Registered User
- Posts: 522
- Joined: Wed Jan 20, 2010 11:03 am
Re: Translation problem
Admin can add a flag via the ACP
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Translation problem
So, Admin should add translation too.
Sorry for my bad english. I'm from USA.
-
- Registered User
- Posts: 522
- Joined: Wed Jan 20, 2010 11:03 am
Re: Translation problem
Uhmm, yeah I highly doubt an admin would do that.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Translation problem
I think you meant add a whole translation to forum. If you have translation files, everyone may translate it, as we do in others extensions.
Remove countries names out of database and put them in ext/rmcgirr83/nationalflags/language/en/common.php. In this way, a lot of people will send you translations in their languages.
If someone add a new language to forum, just translate this file to the new language (if its not there already) or someone else will do it.
Remove countries names out of database and put them in ext/rmcgirr83/nationalflags/language/en/common.php. In this way, a lot of people will send you translations in their languages.
If someone add a new language to forum, just translate this file to the new language (if its not there already) or someone else will do it.
Sorry for my bad english. I'm from USA.
-
- Registered User
- Posts: 522
- Joined: Wed Jan 20, 2010 11:03 am
Re: Translation problem
This will not happen as it will produce more problems for users who will then come to me for resolutions. You are free to take the code and modify it as you see fit to suit your needs.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Translation problem
So, here is the spanish translation of the countries
First, you must uninstall completely the extension and then:
Instalation:
1.- With National Flag ext disabled
2.- Upload this add-on into ext directory of your phpBB board
3.- Enable the extension
4.- Clear Cache
Now, in extensions tab, you can see flags with spanish countries' names.
Happy new year!!
---------------------------------------------------------------
Aquí está la traducción al castellano de la lista de países
Primero tienes que desinstalar la extensión y luego, para al instalarla :
1.- Con la extensión National Flags deshabilitada
2.- Subir el archivo adjunto
3.-Habilitar la extensión
4.- Limpiar la caché
Ahora, si entras a la pestaña Extensiones, puedes ver las banderas nacionales con los nombres de los países en castellano.
¡Feliz año nuevo!
First, you must uninstall completely the extension and then:
Instalation:
1.- With National Flag ext disabled
2.- Upload this add-on into ext directory of your phpBB board
3.- Enable the extension
4.- Clear Cache
Now, in extensions tab, you can see flags with spanish countries' names.
Happy new year!!
---------------------------------------------------------------
Aquí está la traducción al castellano de la lista de países
Primero tienes que desinstalar la extensión y luego, para al instalarla :
1.- Con la extensión National Flags deshabilitada
2.- Subir el archivo adjunto
3.-Habilitar la extensión
4.- Limpiar la caché
Ahora, si entras a la pestaña Extensiones, puedes ver las banderas nacionales con los nombres de los países en castellano.
¡Feliz año nuevo!
Last edited by karbiko on Fri Jan 08, 2016 7:47 pm
-
- Registered User
- Posts: 97
- Joined: Thu Jul 24, 2008 8:47 pm
- Location: La Isla Bonita
Re: Translation problem
Don't believe this will work as you will still have the version in the database so the migration file will never run.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr