Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country #1

Open
VinayakKelagar opened this issue Jul 14, 2021 · 4 comments
Open

Country #1

VinayakKelagar opened this issue Jul 14, 2021 · 4 comments

Comments

@VinayakKelagar
Copy link

Please add Indian Country

@achmadqomarudin
Copy link
Owner

Try to add your country code and country name in below :

https://github.com/achmadqomarudin/NewsApp/blob/main/app/src/main/res/values/array.xml

@VinayakKelagar
Copy link
Author

I have tried but Application is still running in other language and same news feeds

don't mind sir I'm using your project as my clg mini project

@VinayakKelagar
Copy link
Author

<string-array name="countrysCodes">
    <item>in</item>
    <item>tr</item>
    <item>id</item>
    <item>gb</item>
    <item>it</item>
    <item>de</item>
    <item>fr</item>
</string-array>

<integer-array name="countrysIcons">
    <item>@drawable/india</item>
    <item>@drawable/ic_turkey</item>
    <item>@drawable/ic_indonesia</item>
    <item>@drawable/ic_united_kingdom</item>
    <item>@drawable/ic_italy</item>
    <item>@drawable/ic_germany</item>
    <item>@drawable/ic_france</item>
</integer-array>

<string-array name="countrys">
    <item>India</item>
    <item>Turkey</item>
    <item>Indonesia</item>
    <item>United Kingdom</item>
    <item>Italy</item>
    <item>Germany</item>
    <item>France</item>
</string-array>

I did this much in that

@iamdheeraj23
Copy link

Update your API key in Strings.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants